CodeLine Posted October 4, 2023 Share Posted October 4, 2023 Hi, I need to output raw JSON from my WS resource Here's my resource config protected $webserviceParameters = [ 'objectNodeName' => 'dynamic_input_field', 'objectsNodeName' => 'dynamic_input_fields', 'fields' => [ 'id_input' => ['required' => true, 'xlink_resource' => 'dynamic_inputs'], 'id_field' => [], 'name' => [], 'value' => ['getter' => 'displayValue'], 'secondary_value' => [], 'sku' => ['getter' => 'renderSKU'], 'type' => [], 'visible' => [], 'data' => [], ], ]; What do I need to add to the data column. I bet it's something like "raw" => true but I can't find it in the docs Thank you for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now