We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(as in json via orange library, etc)
adapting from the example in https://github.com/2night/mondo/blob/master/source/bsond.d :
BsonObject obj = BO ( "type", "place", "address", BO ( "street", "main st.", "number", 15 ), "tags", BA("first", "middle", "last"), "array", [10, 20, 30] );
struct Bar{ string street; int number; } struct Foo{ string type; Bar address; string[]tags; int[]array; } Foo foo; deserialize(foo, obj); assert(foo.type=="place"); assert(serialize(foo)==obj);
it shall throw on mixed type arrays for example.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(as in json via orange library, etc)
adapting from the example in https://github.com/2night/mondo/blob/master/source/bsond.d :
it shall throw on mixed type arrays for example.
The text was updated successfully, but these errors were encountered: