We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91a41a8 commit 9abdb19Copy full SHA for 9abdb19
core/trino-main/src/main/java/io/trino/util/JsonUtil.java
@@ -102,6 +102,8 @@
102
103
public final class JsonUtil
104
{
105
+ private JsonUtil() {}
106
+
107
public static final JsonFactory JSON_FACTORY = new JsonFactoryBuilder().disable(CANONICALIZE_FIELD_NAMES).build();
108
109
// This object mapper is constructed without .configure(ORDER_MAP_ENTRIES_BY_KEYS, true) because
@@ -111,8 +113,6 @@ public final class JsonUtil
111
113
112
114
private static final int MAX_JSON_LENGTH_IN_ERROR_MESSAGE = 10_000;
115
- private JsonUtil() {}
-
116
public static JsonParser createJsonParser(JsonFactory factory, Slice json)
117
throws IOException
118
0 commit comments