Title: WP JSON file explanations?
Last modified: September 24, 2018

---

# WP JSON file explanations?

 *  [lukoie](https://wordpress.org/support/users/lukoie/)
 * (@lukoie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/)
 * Hello
    Where do I find all the information regarding the syntax? Most of all 
   I’m interested of the “google_map” field type, by the way. And mostest of the
   most 😉 – how do i pass the lang and long fields entered in the previous fields
   on the backend admin. Here’s the screenshot:
 * > [View post on imgur.com](https://imgur.com/a/t0T3Zjz)
 * 
    and the syntax is this:
 *     ```
       		{
       		"key": "field_975841be322c6",
       		"label": "Map",
       		"name": "map",
       		"type": "google_map",
       		"instructions": "",
       		"required": 0,
       		"center_lat": "",
       		"center_lng": "",
       		"zoom": "",
       		"height": "",
       		"conditional_logic": 0,
       		"wrapper": {
       		"width": "50%",
       		"class": "",
       		"id": ""
                   },
                   "default_value": "",
                   "placeholder": "",
                   "maxlength": "",
                   "rows": "",
                   "new_lines": "",
                   "show_column": 0,
                   "show_column_weight": 1000,
                   "allow_quickedit": 0,
                   "allow_bulkedit": 0
       		}
       ```
   
 * and i know it is somehow…not the right one.
    -  This topic was modified 7 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 9 months ago by [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/).
      Reason: fixed backticks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Prashant Singh](https://wordpress.org/support/users/prashantvatsh/)
 * (@prashantvatsh)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/#post-10716115)
 * Hi,
 * Please check this: [https://stackoverflow.com/questions/1745052/add-new-data-into-php-json-string](https://stackoverflow.com/questions/1745052/add-new-data-into-php-json-string)
 * Thanks
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/#post-10718703)
 * Hi! 👋
 * > Where do I find all the information regarding the syntax?
 * This could be a pretty loaded question and answer. There are a lot of resources
   available and a lot of articles, posts that deal with that. Unfortunately, these
   forums don’t go into that. You may find some information here: [https://spring.io/understanding/JSON](https://spring.io/understanding/JSON)
 * > Most of all I’m interested of the “google_map” field type, by the way.
   >  And
   > mostest of the most 😉 – how do i pass the lang and long fields entered in 
   > the previous fields on the backend admin.
 * How is that being created? Is it from a plugin, a theme, a combination of the
   two?
 *  Thread Starter [lukoie](https://wordpress.org/support/users/lukoie/)
 * (@lukoie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/#post-10720778)
 * [@prashantvatsh](https://wordpress.org/support/users/prashantvatsh/) your link
   is irrelevant to this topic!
    -  This reply was modified 7 years, 9 months ago by [lukoie](https://wordpress.org/support/users/lukoie/).
 *  Thread Starter [lukoie](https://wordpress.org/support/users/lukoie/)
 * (@lukoie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/#post-10720812)
 * Thank you [@jcastaneda](https://wordpress.org/support/users/jcastaneda/)
 * > This could be a pretty loaded question and answer.
 * I thought the json for the wp-json is somehow restricted
    for example, the field
   types are limited in number and those field types has their relevant keys, like
   for example these are the keys and values for the “google_maps”, but i bet there
   could be more which i don’t know:
 *     ```
                   "name": "map",
                   "type": "google_map",
                   "instructions": "",
                   "required": 0,
       			"center_lat": "field_975841be30ac6",
       			"center_lng": "field_975841be31ac6",
       			"zoom": "",
       			"height": "",
                   "conditional_logic": 0,
       ```
   
 * If I’m building the custom post type via JSON, i suppose there could be some 
   kind of documentation for the available properties.
 * >  How is that being created? Is it from a plugin, a theme, a combination of 
   > the two?
 * \www\html\dev\wp-content\plugins\NAME\acf-json\group_5b57d126a97c3.json”
 *     ```
       ...
           "location": [
               [
                   {
                       "param": "post_type",
                       "operator": "==",
                       "value": "school"
                   }
               ]
           ],
           "menu_order": 0,
           "position": "normal",
           "style": "default",
           "label_placement": "top",
           "instruction_placement": "label",
           "hide_on_screen": [
               "permalink",
               "the_content"
           ],
           "active": 1,
           "description": "School Post Type",
           "modified": 1532482279
       ...
       ```
   
    -  This reply was modified 7 years, 9 months ago by [lukoie](https://wordpress.org/support/users/lukoie/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP JSON file explanations?’ is closed to new replies.

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)
 * [WordPress REST API](https://wordpress.org/support/topic-tag/wordpress-rest-api/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [lukoie](https://wordpress.org/support/users/lukoie/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/wp-json-file-explanations/#post-10720812)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
