UNPKG

@clynn-fe/akfe-editor-jsonf

Version:

JSON methods support function parse and stringify

20 lines (19 loc) 485 B
export const LeFE_Prefix = '$%LeFEJSON' export const Segment = '_%#@*_' // 兼容性逻辑,一开始的 undefined 是这么搞的,兼容老数据 export const UndefinedReplacer = '$undef_r' export enum ETypeStrings { undefined = 'undefined', Infinity = 'Infinity', NaN = 'NaN', BigInt = 'BigInt', Symbol = 'Symbol', Function = 'Function', Date = 'Date', Set = 'Set', Map = 'Map' } export enum EInfinityString { negative = '-Infinity', positive = 'Infinity' }