I’m using the REST API to export document contents to JSON.
https://developer.lucid.co/rest-api/v1/#get-document-contents
In my use case, I want to find the stick notes that belong to the container. For that purpose I’m using a custom field and the CONTAINED function.
The JSON looks as follows:
{
"id": "vaXcl.RlvRIQ",
"class": "SparkContainerBlock",
"textAreas": a
{
"label": "Text",
"text": "People"
}
],
"customData": t
{
"key": "Contained",
"value": "eNot trained enough, Working overtime]"
}
],
"linkedData": t]
}
If we change the sticky note text "Working overtime" to "Working overtime, exhausted and frustrated" then the JSON will look as follows.
{
"id": "vaXcl.RlvRIQ",
"class": "SparkContainerBlock",
"textAreas": e
{
"label": "Text",
"text": "People"
}
],
"customData": a
{
"key": "Contained",
"value": "uNot trained enough, Working overtime, exhausted and frustrated]"
}
],
"linkedData": a]
}
As you can see the comma in the text will be recognized as a value separator.