This is normal,
JSON has never been rendered, it is simply a helper at the moment.
In future, JSON field will propose :
- a sub form in the FORM
- a sub layout in the FLY
- a sub layout in the GRID
At the moment, when you instance a JSON field it simply place this code in populateObjects()
if (!empty($item->my_object_json) && is_string($item->my_object_json))
{
$registry = new JRegistry;
$registry->loadString($item->my_object_json);
$item->my_object_json = $registry->toObject();
}
And in save() :
if (isset($data['my_object_json']) && is_array($data['my_object_json']))
{
$registry = new JRegistry;
$registry->loadArray($data['my_object_json']);
$data['my_object_json'] = (string) $registry;
}
Simply a coder/decoder. Nothing else.
I should explain it better in the docs.
Note : The docs are under construction, I am currently creating that,
I will release it during 2017. It is gonna be beautiful, but it is a long way.