Index
Modules:
nimjson
,
nimjsonpkg/json_schema_parser
,
nimjsonpkg/parser
,
nimjsonpkg/types
,
nimjsonpkg/utils
.
API symbols
addFieldDefinition:
types: proc addFieldDefinition(self: var ObjectDefinition; fieldDef: FieldDefinition)
FieldDefinition:
types: object FieldDefinition
headUpper:
utils: proc headUpper(str: string): string
newFieldDefinition:
types: proc newFieldDefinition(name: string; typ: string; isPublic: bool; forceBackquote: bool; isSeq: bool; isOption = false): FieldDefinition
newNilTypeObjectDefinition:
types: proc newNilTypeObjectDefinition(isPublic, forceBackquote: bool): ObjectDefinition
newObjectDefinition:
types: proc newObjectDefinition(name: string; isNilType, isPublic, forceBackquote: bool; primitiveType = ""; isSeq = false): ObjectDefinition
ObjectDefinition:
types: object ObjectDefinition
parseAndGetString:
json_schema_parser: proc parseAndGetString(s: string; objectName: string; isPublic: bool; forceBackquote: bool; disableOptionType: bool): string
parser: proc parseAndGetString(jsonNode: JsonNode; objectName: string; isPublic, forceBackquote: bool): string
toDefinitionString:
types: proc toDefinitionString(self: seq[ObjectDefinition]): string
toTypeString:
nimjson: proc toTypeString(self: JsonNode; objName = "Object"; publicField = false; quoteField = false): string
nimjson: proc toTypeString(jsonString: string; objName = "Object"; publicField = false; quoteField = false; jsonSchema = false; disableOptionType = false): string
UnsupportedRefError:
types: object UnsupportedRefError
UnsupportedTypeError:
types: object UnsupportedTypeError