You can use the Data Assist server behaviors and reference json values with php
php has functions that will allow you to use json to reconstruct and object
and then you can reference that object in the server behaviors to do inserts or updates through dataassist server behaviors