Table of Contents

Class JsonGenerator

Namespace
SunamoJson
Assembly
SunamoJson.dll

Helper class for generating JSON content.

public class JsonGenerator
Inheritance
JsonGenerator
Inherited Members
Extension Methods

Methods

Pair(string, string)

Adds a key-value pair to the JSON content.

public void Pair(string key, string value)

Parameters

key string

The JSON property key.

value string

The JSON property value.

ToString()

Returns the generated JSON content as a string.

public override string ToString()

Returns

string

The generated JSON string.