31 Posts
gzukry
9 years ago
0
Topic

To store in json :

JSON | Article | database_field_column [field_name]

It works very well. 

__

Exemple : 

JSON | Article | attribs[field_name

__

It will Output : attribs{"field_name":"myvalue"}

__

__

For my needs, I need to store attribs with multilevel.

I want to output something like this :

__

attribs{"parent_field_name":{"field_name":"myvalue"}}

__

I hardly tried to figure it out by myself but .. didn't find the synthax.

__

__

Then, with BeforeStore field, would I be able to save something like this in JSON :

__

attribs{"parent_field_name":{"field_name":"myvalue","field_name2":"myvalue2","field_name3":"myvalue3"}}

Get a VIP membership