jsony icon indicating copy to clipboard operation
jsony copied to clipboard

A loose, direct to object json parser with hooks.

Results 32 jsony issues
Sort by recently updated
recently updated
newest added

I have a situation where JSON strings omit default values. For instance in the code below, if `interval` is omitted or less than 0, it should be set to 100....

This fixes an issue for me where Option was tried to be parsed as something else (probably `object`?), at the very least. They are now in the same order as...

When converting from an object to JSON, if a field is an Option type, then I want to leave that field out of the JSON. The reason is to save...

Hey, I just want to store `enum`s as `int`s, wrapper.nim: ```nim import jsony import inner type Enum = enum e1 e2 echo fromJson("0", Enum) ``` inner.nim ```nim import std/[parseutils] proc...

Adding support for `std/critbits` is easy https://github.com/treeform/jsony/blob/4fa3a9b52649e31783ab2165b5476d5737c8842c/src/jsony.nim#L11-L13 To be changed to ```nim type SomeTable*[K, V] = Table[K, V] | OrderedTable[K, V] | TableRef[K, V] | OrderedTableRef[K, V] | CritBitTree[V] ```

Hi! Thank you for all your work on this library, it is working well for me but I had a problem with exception error messages not giving enough insight. The...