On 20.07.2018 20:33, Bo Berglund via Lazarus wrote:
So I have two issues here:
1) It seems like there is no RecordToJSONString method only
ObjectToJSONString.
No function; I was suggesting to make it (func) to your record type
(each rec type has its new function). So record type will convert to
{
"myrec": {
"int_var": 10,
"bool_var": False,
"str_var": "ddd"
}
}
--
Regards,
Alexey
--
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus