--- title: "json to list()" slug: "basic-json-to-list" updated: 2026-08-12T06:43:27Z published: 2026-08-12T06:43:27Z canonical: "docs.lobstersoftware.com/basic-json-to-list" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # json to list() This function can convert a JSON string into a list. However, only elements/structures of the JSON string are transferred to the list if they can be clearly mapped there. **NOTE:** This primarily concerns arrays of simple data types, see first example. If the function is successful, the return value is *true*, otherwise it is *false* (e.g. if an incorrect JSON string was specified in **a**). ## Parameters | Parameter | Description | | --- | --- | | a | The JSON string. | | b | Name of the list. | | c | (optional) If *true*, the list **b** is emptied beforehand. Default: *false*. | ## Examples | Parameter a | Parameter b | Parameter c | Result | | --- | --- | --- | --- | | [1,2,3] | mylist | true | The values *1*, *2* and *3* have been added to the list. | | {"a": "hello", "b": [1,2,3]} | mylist | true | No value was added to the list. | | {"a": [77,88], "b": [1,2,3]} | mylist | true | No value was added to the list. | | {"a": [1,2,3]} | mylist | true | No value was added to the list. | JSON (**J**ava**S**cript **O**bject **N**otation) is a lightweight text format for data exchange. The Lobster Data Platform handles JSON in integration profiles, web resources, and API interfaces. Value resolvers convert JSON data to internal objects and vice versa.