You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a main difference between json-flattener and Spring JsonMapFlattener. Spring JsonMapFlattener processes Java Map directly, but json-flattener does JSON processing at first. This difference results in performance comparison.
However json-flattener adopts json-base as implementation interfaces which supports org.json natively, therefore add org.json into your dependencies, then you can do something like this:
We have pretty big JSON files which contains sometimes more than 180k nodes as well. We have done comparision with https://github.com/spring-projects/spring-vault/blob/main/spring-vault-core/src/main/java/org/springframework/vault/support/JsonMapFlattener.java api and found JSONFlattern is almost taking 5 times time. Is there any config available to speed up the same which can be tweaked and also Unfllatten is also taking alot time even after applying latest build.
The text was updated successfully, but these errors were encountered: