GH-1094 Refactor JSON string parsing

It appears that primitive way of checkong for {} amd [] did not play well with protobuf so this commit represnts alternative approach

Resolves #1094
This commit is contained in:
Oleg Zhurakousky
2024-03-27 22:53:04 +01:00
parent 9748b1b651
commit be45a47818
4 changed files with 119 additions and 23 deletions

View File

@@ -18,7 +18,6 @@
<properties>
<avro.version>1.10.2</avro.version>
</properties>
<dependencies>
<dependency>
<groupId>net.jodah</groupId>
@@ -78,6 +77,12 @@
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.25.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
@@ -108,6 +113,12 @@
<version>2.2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20240303</version>
</dependency>
<!-- Actuator -->
<dependency>
@@ -146,6 +157,16 @@
<build>
<plugins>
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>checkstyle-validation</id>-->
<!-- <phase>none</phase>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>