Create a prop-driven streaming JSON parser that can optionally resolve values with a Skillet schema.
API
export declare function useJsonParser<
Schema extends s.HashbrownType ,
>(
json: string,
schema: Schema,
): UseJsonParserResult <
s.Infer <Schema>
>;useJsonParser
UseJsonParserResult<s.Infer<Schema>>@paramjson:stringThe full JSON string that grows over time.
@paramschema:SchemaOptional Skillet schema to resolve values from the parser state.
@typeSchemas.HashbrownType@returnsUseJsonParserResult<s.Infer<Schema>>