Json handling in 0.15+ version

Guys, can you help to explain how can I serialize and deserialize json data in zig(0.15+) and you you are all handling request and response…
I am just stuck here

Here is an example of serialization to a writer: Zig 0.15.1 reader/writer: Don't make copies of @fieldParentPtr()-based interfaces

1 Like

exemple:savJson

restore JSON

I just updated this little helper I wrote to decode JSON into a structure from an HTTP request for 0.15.1:

Buyer beware, I’m a total noob.