Polymarket_http.JsonSourceJSON parsing and body building utilities.
Parse a JSON response using the provided parser function.
Parse a JSON array response, applying parser to each element.
Convert JSON to string body
Build JSON object from field list
Wrap string as JSON string
Map items to JSON and serialize as array
Build JSON array of single-field objects. list_single_field "token_id" ids produces [{"token_id": "id1"}, {"token_id": "id2"}, ...]