Closed zoujiaqing closed 3 years ago
Could you please clarify what means compatible?
ASDF doesn't use Phobos JSONValue.
I meanns use more common ways of using..
Like this one?
import std.conv: to;
auto integer = tweets["search_metadata", "count"].to!int;
Like this one:
tweets["search_metadata"]["count"];
If you are asking about if Asdf is compatible with JSONValue. No, it isn't.
Asdf can now be de/serialized to/from mir.algebraic
types.
https://forum.dlang.org/thread/itdobhbjiynjtijschoe@forum.dlang.org
So asdf code:
JSONValue code: