Skip to content
#

json-parser

Here are 898 public repositories matching this topic...

simdjson
mmatrosov
mmatrosov commented Dec 4, 2020

Is your feature request related to a problem? Please describe.
There is no way to pretty print a simdjson::dom::element to a string (or at least I did not find one). There is only a way to minify it to a string (or a stream).

Describe the solution you'd like
A function like to_pretty_string() or a configurable stream manipulator pretty or a stand-alone class PrettyPrinter. Wha

prateek
prateek commented Apr 27, 2020

Hey folks, thanks for a pretty bad ass library! I'm seeing a 3-3.3x gain when decoding fairly large JSON payloads (40-50MB) as compared stdlib/json-iterator.

Few things in the generated code that struck me as odd are the allocation sizes for slices/maps:

  • Slice is set to size 1 initially, values are appended using append
  • Map does not have a default size specified

Instead of this, I

Improve this page

Add a description, image, and links to the json-parser topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the json-parser topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.