Temporary fix for JSON null fields
This commit is contained in:
parent
cf43992266
commit
0bb193fba3
5 changed files with 71 additions and 25 deletions
|
|
@ -75,6 +75,11 @@ public class JSONWriter{
|
|||
* @param root is the root node
|
||||
*/
|
||||
public void write(DataNode root){
|
||||
if(root == null){
|
||||
out.print("null");
|
||||
return;
|
||||
}
|
||||
|
||||
boolean first = true;
|
||||
switch(root.getType()){
|
||||
// Write Map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue