
JsonMappingOptions
- Namespace
- Rowles.LeanCorpus.Document.Json
- Assembly
- Rowles.LeanCorpus.dll
Options controlling how JsonDocumentMapper maps JSON to fields.
public sealed class JsonMappingOptions
- Inheritance
-
JsonMappingOptions
FieldNameSeparator
Separator between nested field name segments. Default: ".".
MaxDepth
Maximum nesting depth to recurse into. Default: 10. Must be non-negative.
StringFieldMaxLength
Maximum length for a JSON string to be mapped as StringField. Longer strings become TextField. Default: MaxValue, so JSON strings are exact-match by default. Must be non-negative. Set to 0 to map every string as TextField.