Skip to content

Class List

robbyxp1 edited this page Apr 18, 2025 · 17 revisions

Namespaces


QuickJSON Namespace

This namespace contains the Quick JSON parser


Classes

Classes
JArray JSON Array object, holding a ordered list of JTokens
JObject JSON Object, holding a list of JSON JTokens referenced by property names
JsonCustomFormat Attach to a member of a class to indicate a custom output/input call is needed for the whole element.
Applicable to FromObject and ToObject
Must supply a customformat callback to both From and To object if used.
JsonCustomFormatArray Attach to a member of a class to indicate a custom output/input call is needed for each array member, not for the object itself
Applicable to FromObject and ToObject
Must supply a customformat callback to both From and To object if used.
JSONFormatter Quick formatter using Fluent syntax, quick and easy way to make a JSON string
JSONFormatterStreamer Using Fluent syntax stream tokens to a stream, quick and easy way to make a JSON file without needing to hold the whole structure in memory
JsonIgnoreAttribute Ignore attribute. Attach to an member of a class to say don't serialise this item or
to exclude certain members or to only include specific members
Applicable to FromObject and ToObject
JsonIgnoreIfNullAttribute Attach to a member to indicate if the value of it is null, don't add it to JSON.
Applicable to FromObject only
JsonNameAttribute Name attribute. Attach to an member of a class to indicate an alternate name to use in the JSON structure from its c# name.
Applicable to FromObject and ToObject.
ToObject supports multiple names (any name in JSON will match this entry), FromObject only one and uses the first entry if multiple is given
JSONSchema JSchema is a static class holding experimental schema decoders
Implements 2022-12 https://json-schema.org/specification
Except If/then/else
Except format (accepted but not checked)
JToken JToken is the base type of all JSON Tokens. JObject and JArray are derived from this
Provides Parsers and Decoders for all JSON properties
JTokenExtensions Class which extends QuickJSON with the ability to create c# objects from JTokens
JTokenExtensionsGet Extension class helpers for converting a JToken safely to a c# class.
Null may be passed as the JToken and it will return the default given in the converter
ie. token["propertyname"].Str("default") works safely even if propertyname does not exist.
JTokenExtensionsOther Extension class helpers for JTokens include renames, parse string, write and read from file


QuickJSON.Utils Namespace

This namespace contains the Quick JSON Utilities


Classes

Classes
Extensions Extension class helpers for JSON system.
StringParserQuick String Parser Quick for JSON system.
StringParserQuickTextReader Text Reader Parser Quick for JSON system.
Interfaces
IStringParserQuick Interface for parsers for QuickJSON
Clone this wiki locally