diff --git a/magic-editor/src/console/src/scripts/parsing/parser.js b/magic-editor/src/console/src/scripts/parsing/parser.js index c60e355a..c20f4273 100644 --- a/magic-editor/src/console/src/scripts/parsing/parser.js +++ b/magic-editor/src/console/src/scripts/parsing/parser.js @@ -842,7 +842,7 @@ function getType(object) { if(type === 'Integer' && Number(object.span.getText()) > 0x7fffffff || Number(object.span.getText()) < -0x80000000){ return 'Long' } - return type === 'null' ? 'Object' : ''; + return type === 'null' ? 'Object' : type; } export function parseJson(bodyStr){