API Reference
Class
Json
Internal helpers for fast, AOT-safe JSON emission using the source-generated context while keeping output minified regardless of context defaults.
Inheritance
- Object
- Json
Methods
SerializeDictStringObjectMin(System.Collections.Generic.Dictionary{System.String,System.Object} arg1) #Serialize a Dictionary<string, object> using the source-generated context and minified writer.
Parameters
- arg1 System.Collections.Generic.Dictionary{System.String,System.Object}
SerializeMin``1(``0 arg1, System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0} arg2) #Generic helper that serializes using a provided JsonTypeInfo with a non-indented writer.
Parameters
- arg1 ``0
- arg2 System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0}