CYCLUS
Public Member Functions | List of all members
Json::FastWriter Class Reference

Detailed Description

Outputs a Value in JSON format without formatting (not human friendly).

The JSON document is written in a single line. It is not intended for 'human' consumption, but may be usefull to support feature such as RPC where bandwith is limited.

See also
Reader, Value

Definition at line 4487 of file pyne.h.

#include <pyne.h>

Inheritance diagram for Json::FastWriter:
Inheritance graph
[legend]

Public Member Functions

void enableYAMLCompatibility ()
 
 FastWriter ()
 
virtual std::string write (const Value &root)
 
virtual ~FastWriter ()
 
- Public Member Functions inherited from Json::Writer
virtual ~Writer ()
 

Constructor & Destructor Documentation

◆ FastWriter()

Json::FastWriter::FastWriter ( )

Definition at line 16248 of file pyne.cc.

◆ ~FastWriter()

virtual Json::FastWriter::~FastWriter ( )
inlinevirtual

Definition at line 4491 of file pyne.h.

Member Function Documentation

◆ enableYAMLCompatibility()

void Json::FastWriter::enableYAMLCompatibility ( )

Definition at line 16254 of file pyne.cc.

◆ write()

std::string Json::FastWriter::write ( const Value root)
virtual

Implements Json::Writer.

Definition at line 16260 of file pyne.cc.


The documentation for this class was generated from the following files: