MCPcopy Create free account

hub / github.com/josdejong/jsonrepair / functions

Functions161 in github.com/josdejong/jsonrepair

↓ 1 callersFunctionparseNumber
* Parse a number like 2.4 or 2.4e6
src/regular/jsonrepair.ts:716
↓ 1 callersFunctionparseNumber
* Parse a number like 2.4 or 2.4e6
src/streaming/core.ts:911
↓ 1 callersFunctionparseObject
* Parse an object like '{"key": "value"}'
src/regular/jsonrepair.ts:274
↓ 1 callersFunctionparseObjectComma
()
src/streaming/core.ts:359
↓ 1 callersFunctionparseObjectEnd
()
src/streaming/core.ts:367
↓ 1 callersFunctionparseObjectKey
()
src/streaming/core.ts:336
↓ 1 callersFunctionparseObjectStart
()
src/streaming/core.ts:199
↓ 1 callersFunctionparseRegex
()
src/regular/jsonrepair.ts:902
↓ 1 callersFunctionparseRepairMissingObjectValue
()
src/streaming/core.ts:302
↓ 1 callersFunctionparseRepairNdJsonEnd
()
src/streaming/core.ts:426
↓ 1 callersFunctionparseRepairRegex
()
src/streaming/core.ts:286
↓ 1 callersFunctionparseRepairUnquotedString
()
src/streaming/core.ts:239
↓ 1 callersFunctionparseRootEnd
()
src/streaming/core.ts:450
↓ 1 callersFunctionparseRootStart
()
src/streaming/core.ts:444
↓ 1 callersFunctionparseSize
(size)
bin/cli.js:127
↓ 1 callersFunctionparseUnexpectedColon
()
src/streaming/core.ts:318
↓ 1 callersFunctionparseUnexpectedEnd
()
src/streaming/core.ts:326
↓ 1 callersFunctionparseUnquotedKey
()
src/streaming/core.ts:1022
↓ 1 callersFunctionprocessArgs
(args)
bin/cli.js:13
↓ 1 callersFunctionpush
(text: string)
src/streaming/buffer/OutputBuffer.ts:49
↓ 1 callersFunctionremoveAtIndex
(text: string, start: number, count: number)
src/utils/stringUtils.ts:186
↓ 1 callersFunctionrun
(options)
bin/cli.js:68
↓ 1 callersFunctionskipEscapeCharacter
()
src/regular/jsonrepair.ts:248
↓ 1 callersFunctionskipEscapeCharacter
()
src/streaming/core.ts:608
↓ 1 callersFunctionskipMarkdownCodeBlock
(blocks: string[])
src/regular/jsonrepair.ts:215
↓ 1 callersFunctionskipMarkdownCodeBlock
(blocks: string[])
src/streaming/core.ts:577
↓ 1 callersFunctiontable
(items, gap = 2)
tools/benchmark/utils/table.mjs:1
↓ 1 callersFunctionthrowColonExpected
()
src/streaming/core.ts:1103
↓ 1 callersFunctionthrowInvalidCharacter
(char: string)
src/regular/jsonrepair.ts:943
↓ 1 callersFunctionthrowInvalidCharacter
(char: string)
src/streaming/core.ts:1087
↓ 1 callersFunctionthrowInvalidUnicodeCharacter
()
src/regular/jsonrepair.ts:963
↓ 1 callersFunctionthrowInvalidUnicodeCharacter
()
src/streaming/core.ts:1107
↓ 1 callersFunctionthrowObjectKeyExpected
()
src/regular/jsonrepair.ts:955
↓ 1 callersFunctionthrowObjectKeyExpected
()
src/streaming/core.ts:1099
↓ 1 callersFunctionthrowUnexpectedEnd
()
src/regular/jsonrepair.ts:951
Functioncaret
()
src/streaming/stack.ts:24
FunctioncharAt
(index: number)
src/streaming/buffer/InputBuffer.ts:46
FunctioncharCodeAt
(index: number)
src/streaming/buffer/InputBuffer.ts:52
Functionclose
()
src/streaming/buffer/InputBuffer.ts:81
Methodconstructor
(message: string, position: number)
src/utils/JSONRepairError.ts:4
FunctionendsWithIgnoringWhitespace
(char: string)
src/streaming/buffer/OutputBuffer.ts:121
Functionflush
(callback)
src/streaming/stream.ts:27
Functionflush
(position: number)
src/streaming/buffer/InputBuffer.ts:37
Functionflush
()
src/streaming/buffer/OutputBuffer.ts:39
FunctionformatTaskResult
(task)
tools/benchmark/utils/formatTaskResult.mjs:9
FunctioninsertAt
(index: number, text: string)
src/streaming/buffer/OutputBuffer.ts:75
FunctioninsertBeforeLastWhitespace
(textToInsert: string)
src/streaming/buffer/OutputBuffer.ts:100
FunctionisEnd
(index: number)
src/streaming/buffer/InputBuffer.ts:73
FunctionisWhitespaceExceptNewline
(text: Text, index: number)
src/utils/stringUtils.ts:90
Functionlength
()
src/streaming/buffer/InputBuffer.ts:65
Functionlength
()
src/streaming/buffer/OutputBuffer.ts:83
Functionpop
()
src/streaming/stack.ts:28
Functionpush
(type: StackType, newCaret: Caret)
src/streaming/stack.ts:35
Functionpush
(chunk: string)
src/streaming/buffer/InputBuffer.ts:32
Functionremove
(start: number, end?: number)
src/streaming/buffer/OutputBuffer.ts:63
FunctionstripLastOccurrence
(textToStrip: string, stripRemainingText = false)
src/streaming/buffer/OutputBuffer.ts:87
Functionsubstring
(start: number, end: number)
src/streaming/buffer/InputBuffer.ts:58
Functiontransform
(chunk, _encoding, callback)
src/streaming/stream.ts:17
Functiontype
()
src/streaming/stack.ts:20
Functionunshift
(text: string)
src/streaming/buffer/OutputBuffer.ts:54
Functionupdate
(newCaret: Caret)
src/streaming/stack.ts:42
← previous101–161 of 161, ranked by callers