mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-07 07:19:13 +01:00
2.4 KiB
2.4 KiB
RapidJSON FAQ
General
-
What is RapidJSON?
RapidJSON is a C++ library for parsing and generating JSON. You may check all features of it.
-
Why is it named so?
It is inspired by RapidXML, which is a fast XML DOM parser. RapidJSON borrowed some designs of RapidXML, including in situ parsing, header-only library, and more.
-
Is it similar to RapidXML?
-
Is it free?
-
Is it small? What are its dependencies?
-
How to install RapidJSON?
-
Can it run on my platform?
-
Does it support C++03? C++11?
-
Does it really work in real applications?
-
How it is tested?
-
Is it well documented?
-
Are there alternatives?
JSON
- What is JSON?
- What is application of JSON?
- Does RapidJSON conform to the JSON standard?
- Does RapidJSON support relaxed syntax?
DOM and SAX
- What is DOM style API?
- What is SAX style API?
- Should I choose DOM or SAX?
- What is in situ parsing?
- When will parsing generates an error?
- What error information is provided?
- Why not just using
double
to represent JSON number?
Document/Value (DOM)
- What is move semantics? Why?
- How to copy a value?
- Why do I need to provide the length of string?
- Why do I need to provide allocator in many DOM manipulation API?
- Does it convert between numerical types?
Reader/Writer (SAX)
- Why not just
printf
a JSON? Why need aWriter
? - Why can't I parse a JSON which is just a number?
- Can I pause the parsing process and resume it later?
Unicode
- Does it support UTF-8, UTF-16 and other format?
- Can it validate the encoding?
- What is surrogate pair? Does RapidJSON support it?
- Can it handle '\u0000' (null character) in JSON string?
- Can I output '\uxxxx' for all non-ASCII character?
Stream
- I have a big JSON file. Should I load the whole file to memory?
- Can I parse JSON while it is streamed from network?
- I don't know what format will the JSON be. How to handle them?
- What is BOM? How RapidJSON handle it?
- Why little/big endian is related?
Performance
- Is RapidJSON really fast?
- Why is it fast?
- What is SIMD? How it is applied in RapidJSON?
- Does it consume a lot of memory?
- What is the purpose of being high performance?
Gossip
- Who are the developers of RapidJSON?
- Why do you develop RapidJSON?
- Why there is a long empty period of development?
- Why did the repository move from Google Code to GitHub?