Overview of RapidJSON stream types
masterRapidJSON provides several specialized stream classes to optimize JSON parsing and generation:
- Memory Streams: Simple streams for handling data in memory.
- File Streams: Reduces memory footprint by reading/writing directly to the file system (
FileReadStreamfor input,FileWriteStreamfor output). - Encoded Streams: Handles conversion between byte streams and character streams (e.g.,
EncodedInputStream,EncodedOutputStream,AutoUTFInputStream,AutoUTFOutputStream). - Custom Streams: Users can implement their own stream interfaces for specialized requirements.