We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cdd25b commit 652d366Copy full SHA for 652d366
src/main/java/com/arangodb/velocypack/VPackParser.java
@@ -47,6 +47,7 @@ public class VPackParser {
47
private static final char FIELD = ':';
48
private static final char SEPARATOR = ',';
49
private static final String NULL = "null";
50
+ private static final String NON_REPRESENTABLE_TYPE = "(non-representable type)";
51
private final Map<ValueType, VPackJsonDeserializer> deserializers;
52
private final Map<String, Map<ValueType, VPackJsonDeserializer>> deserializersByName;
53
@@ -124,7 +125,7 @@ private void parse(
124
125
} else if (value.isNull()) {
126
json.append(NULL);
127
} else {
- json.append(NULL);
128
+ json.append(JSONValue.toJSONString(NON_REPRESENTABLE_TYPE));
129
}
130
131
0 commit comments