Module json

Module json 

Source
Expand description

JSON / SSE-JSON parse endpoints.

Functionsยง

encode_response ๐Ÿ”’
Encode a POST /api/v1/parse body. It is the whole model, so call this only on the blocking pool (#4696). The bytes are the ones Json would write and DiskCache::set would store.
json_body ๐Ÿ”’
An already-encoded JSON body, with the content type Json sets.
parse_full
POST /api/v1/parse - Full synchronous parse.
parse_metadata
POST /api/v1/parse/metadata - Quick metadata only (no geometry).
parse_stream
POST /api/v1/parse/stream - Streaming SSE parse.