Format::Json Class Reference

#include <Json.h>

Inheritance diagram for Format::Json:
Collaboration diagram for Format::Json:

Public Member Functions

void escape (String &value) const override
 Perform any necessary text escaping so output is valid. More...
 
MimeType mimeType () const override
 Corresponding MIME type for this format. More...
 
- Public Member Functions inherited from Format::Standard
void escape (String &value) const override
 Perform any necessary text escaping so output is valid. More...
 
void quote (String &value) const override
 Convert a value into quoted string. More...
 
void unQuote (String &value) const override
 Remove any quotes from a value. More...
 
MimeType mimeType () const override
 Corresponding MIME type for this format. More...
 

Member Function Documentation

◆ escape()

void Format::Json::escape ( String value) const
overridevirtual

Perform any necessary text escaping so output is valid.

Implements Format::Formatter.

◆ mimeType()

MimeType Format::Json::mimeType ( ) const
inlineoverridevirtual

Corresponding MIME type for this format.

Note
New types must be added to WebConstants.h

Implements Format::Formatter.


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