llmwire - v2.2.0
GitHub
npm
llms.txt
Preparing search index...
llmwire
parseJson
Function parseJson
parseJson
(
text
:
string
)
:
{
value
:
unknown
}
|
{
error
:
string
}
Parses a JSON answer, tolerating the ```json fence a model adds despite being told not to.
Parameters
text
:
string
Returns
{
value
:
unknown
}
|
{
error
:
string
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
llms.txt
llmwire - v2.2.0
Loading...
Parses a JSON answer, tolerating the ```json fence a model adds despite being told not to.