Menu Fermer

test avec Json content importer NON Pro

start:
level2:
id: , type:
DEBUG (1-10): Cache is NOT active
DEBUG (1-10): try to retieve this url: https://zzz.lirmm.fr/wp-content/plugins/json-content-importer/json/gutenbergblockexample1.json
DEBUG: wp_safe_remote_get to https://zzz.lirmm.fr/wp-content/plugins/json-content-importer/json/gutenbergblockexample1.json
DEBUG: arguments: {"timeout":5}
DEBUG: success getting URL

DEBUG (1-10): api-answer:
Inspect JSON: Copypaste (click in box, Strg-A marks all, then insert into clipboard) the JSON from the following box to https://jsoneditoronline.org):

DEBUG (1-10): basenode: level1
DEBUG (1-10): template:

DEBUG (1-10):
LEAVE function checkType // depth: 1 // result: Very good, this is the value of &#039;start&#039;, right out of the JSON-data<br>This is the first value of key in the &#039;level1&#039;-array <br> id: 11111 <br> This is the second value of key in the &#039;level1&#039;-array <br> id: 222 <br> This is the third value of key in the &#039;level1&#039;-array <br> id: 33333333 <br> This is the fourth value of key in the &#039;level1&#039;-array <br> id: 4444 <br>
// returnHTMLinsideProc: This is the fourth value of key in the 'level1'-array
id: 4444


DEBUG (1-10): result:

Very good, this is the value of 'start', right out of the JSON-data
This is the first value of key in the 'level1'-array
id: 11111
This is the second value of key in the 'level1'-array
id: 222
This is the third value of key in the 'level1'-array
id: 33333333
This is the fourth value of key in the 'level1'-array
id: 4444