Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix interleaved output in JsonReader's parseJsonNode method
Replace parallelStream with stream to prevent thread-unsafe appends to the shared StringBuilder. This fixes the issue of intermingled key-value pairs in the generated Document content. Also, replace StringBuffer with StringBuilder for better performance in single-threaded context. The change ensures correct ordering of extracted JSON keys and their values in the resulting Document, improving the reliability and readability of the parsed output.
- Loading branch information