JSON Serialization with runtime filtering.

yawniek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 23 14:30:52 PDT 2016


On Friday, 22 July 2016 at 12:36:31 UTC, Alexander Milushev wrote:
> I there any json serialization library which allow to make 
> decision about ignoring fields in runtime? I trying to write 
> rest client but server accept either 'cmd' or 'args' field for 
> example and I need to find solution.

can you give an example? i'm not sure what you mean by "ignore at 
runtime"
if its simply ignoring fields of a struct then thats easily 
doable with https://github.com/tamediadigital/asdf


More information about the Digitalmars-d-learn mailing list