rea-agents
Preparing search index...
domain/jsonShape
inferJsonShape
Function inferJsonShape
inferJsonShape
(
text
:
string
,
limits
:
JsonShapeLimits
,
)
:
|
{
max_depth_observed
:
number
;
node_count
:
number
;
properties
:
{
observations
:
number
;
path
:
string
;
types
:
(
"string"
|
"number"
|
"boolean"
|
"object"
|
"null"
|
"array"
)
[]
;
}
[]
;
root_type
:
"string"
|
"number"
|
"boolean"
|
"object"
|
"null"
|
"array"
;
truncated
:
boolean
;
}
|
null
Parse approved JSON and immediately discard values after iterative shape inference.
Parameters
text
:
string
limits
:
JsonShapeLimits
Returns
|
{
max_depth_observed
:
number
;
node_count
:
number
;
properties
:
{
observations
:
number
;
path
:
string
;
types
:
(
"string"
|
"number"
|
"boolean"
|
"object"
|
"null"
|
"array"
)
[]
;
}
[]
;
root_type
:
"string"
|
"number"
|
"boolean"
|
"object"
|
"null"
|
"array"
;
truncated
:
boolean
;
}
|
null
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents
Loading...
Parse approved JSON and immediately discard values after iterative shape inference.