You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any possible way to make something like that work?
I have massive JSON files (on single lines so no spacing issues) and for annoying reasons, I have to regenerate exactly the same thing after I parse it.
It works more or less randomly, but I sometimes get the keys in the maps in a different order, is there any way to make that deterministic?
I have a bit similar use-case. I'm using cheshire for pretty-printing JSON.
So I'm reading the JSON from file and then using parse-stream and generate-string with pretty printing options, and the end result is a pretty printed JSON file but the order of the keys is changed. Would be nice if there was an option in Cheshire to keep the order of the keys.
Is there any possible way to make something like that work?
I have massive JSON files (on single lines so no spacing issues) and for annoying reasons, I have to regenerate exactly the same thing after I parse it.
It works more or less randomly, but I sometimes get the keys in the maps in a different order, is there any way to make that deterministic?
It's probably just because parsing will generate non sorted maps, is there any way to make Cheshire use sorted maps?
The text was updated successfully, but these errors were encountered: