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

Detailed Description

Writes a Value in JSON format in a human friendly way.

The rules for line break and indent are as follow:

If the Value have comments then they are outputed according to their CommentPlacement.

See also
Reader, Value, Value::setComment()

Definition at line 4523 of file pyne.h.

#include <pyne.h>

Inheritance diagram for Json::StyledWriter:

Public Member Functions

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

Constructor & Destructor Documentation

Json::StyledWriter::StyledWriter ( )

Definition at line 16324 of file

virtual Json::StyledWriter::~StyledWriter ( )

Definition at line 4527 of file pyne.h.

Member Function Documentation

std::string Json::StyledWriter::write ( const Value root)

Serialize a Value in JSON format.

rootValue to serialize.
String containing the JSON document that represents the root value.

Implements Json::Writer.

Definition at line 16331 of file

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