arrays - Java - convert TreeNode into JSONArray -
i using library construct tree of strings: https://github.com/shell-software/tree, , jar library deal jsons.
i want convert treenode into jsonarray, so:
assuming every node children jsonarray, each leaf jsonobject , root jsonarray, how can iterate nodes of tree create json?
Comments
Post a Comment