UNPKG

@venly/venly-core-sdk

Version:

Javascrip/Typescript SDK for Venly's Web3 Services

42 lines 1.44 kB
/** * Internal constants. */ import { PropertyConvertingMode } from "./json-convert-enums"; export declare class JsonMetaKeys { static readonly Include: unique symbol; static readonly ConverterType: unique symbol; static readonly ConverterKey: unique symbol; static readonly ClassName: unique symbol; static readonly ClassProps: unique symbol; static readonly PropName: unique symbol; static readonly PropType: unique symbol; } export declare class Settings { static readonly MAPPING_PROPERTY = "__jsonconvert__mapping__"; static readonly MAPPER_PROPERTY = "__jsonconvert__mapper__"; static readonly CLASS_IDENTIFIER = "__jsonconvert__class_identifier__"; static readonly CLASS_CONVERTER = "json:class_conv_impl"; static readonly PROP_CONVERTER = "json:prop_conv_impl"; static readonly CLASS_CONVERTER_IMPL = "__jsonconvert_class_converter_impl__"; } /** * Internal mapping options for a property. */ export declare class MappingOptions { classPropertyName: string; jsonPropertyName: string; expectedJsonType?: string; convertingMode: PropertyConvertingMode; customConverter: any; } export declare class ObjectMappingOptions { className: string; customConverter: any; } export declare class JsonPropertyMap { propertyName: string; jsonName: string; propertyType: any; converterType: any; } //# sourceMappingURL=json-convert-options.d.ts.map