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

Hey i wonder if there's way to just throw better exception , with field/type name example: ``` type Entry1 = object username: string password: string ``` serializing this: `"username":true` it...

Somewhat related to this [issue](https://github.com/nim-lang/Nim/pull/11416), this would allow the ability to change the output of `fromJson` back to valid JSON.

My current use-case for json is to consume auto-generated test vectors from libraries in other languages. If I forget to consume a field, it's because I forget to update my...

It doesn't seem like jsony supports loading from a file, which a user needs space to hold 2x the json size in memory.

toJson proc accepts optional `pretty` bool parameter to pretty-print output with newlines and indents.

Heya, I'm currently working on a project and decided to use `jsony`, but it seems that there's an issue with `toJson` as shown with this error: `/home/runner/.nimble/pkgs2/jsony-1.1.5-6aeb83e7481ca8686396a568096054bc668294df/jsony.nim(739, 15) Error: attempting...

This is probably a compiler error, but I wasn't able to come up with a reproduction without jsony. Nim version: 2.2.0 Backend: c # imported.nim ```nim import pkg/jsony type Foo*...

Had an issue recently where `NaN` values from Nim got written to JSON as `nan`. According to the [official JSON spec](https://www.json.org/json-en.html) `nan` is not a valid value in JSON. Not...