Nested variables in JSON
-
Hi!
First I would thank you for this plugin, which seem perfect for my needs (a WP backend + a React frontend), particularly delightful with Custom Post Type (CPT UI plugin) and Advanced Custom Field (ACF plugin)
Only I am wondering if it’s possible to get this kind of nested response (see “color” below){
“ID”: “68”,
“title”: “Home”,
“url”: “https://wp.mywebsite/home/”,
“slug”: “home”,
“type”: “page”,
“color”: {
“bg”: “#6114cc”,
“primary”: “#f8f8f8”,
“secondary”: “”
}
},I am currently able to have: “color”: “1” although “color” is designed to contain “bg”, “primary” and “secondary”
Thank in advance for your help!
Cheers
Guillaume
(And I’m definitely volunteer to participate to your beta version if any ?? )
- The topic ‘Nested variables in JSON’ is closed to new replies.