Ero sivun ”ITSFactory siriaccess developerguide” versioiden välillä

Rivi 109: Rivi 109:
=== SIRI JSON documents over HTTP GET ===
=== SIRI JSON documents over HTTP GET ===


* '''Please note!''' This JSON interface is superceeded by http://wiki.itsfactory.fi/index.php/Journeys_API#Vehicle_Activity . This interface remains however in use until it is eventually removed in the future.  
* '''Please note!''' This JSON interface is superceeded by http://wiki.itsfactory.fi/index.php/Journeys_API#Vehicle_Activity . This interface remains however in use until it is eventually removed in the future. <b><font color=red>NEW!</font></b>


JSON access responds to HTTP GET requests and returns JSON formatted textual data. The data itself is structured and named like standard SIRI XML responses (it is just converted from SIRI XML to JSON notation). This allows the client avoid XML request parsing which is typically cumbersome for example to JavaScript clients.
JSON access responds to HTTP GET requests and returns JSON formatted textual data. The data itself is structured and named like standard SIRI XML responses (it is just converted from SIRI XML to JSON notation). This allows the client avoid XML request parsing which is typically cumbersome for example to JavaScript clients.
0

muokkausta