Jump to content

Assistance Identifying Format (Not Json)


monkeypaw201

Recommended Posts

Hello,

 

I am familiar with json and its php counterpart of json_encode and json_decode, however I've recently come across a similar-looking format that doesn't decode with json_decode.

 

I need some help identifying what it is and how to decode it. Any assistance is appreciated!

 

A snippet:

a:1:{s:6:"points";a:40:{i:0;a:10:{s:4:"name";s:6:"point0";s:4:"time";s:7:"[19:09]";s:3:"lat";s:16:"44,5283077105488";s:3:"lng";s:16:"11,2966538706291";s:3:"alt";s:1:"0";s:4:"head";s:3:"208";s:2:"gs";s:1:"0";s:5:"phase";s:0:"";s:7:"warning";s:1:"0";s:13:"warningdetail";s:0:"";}i:1;a:10:{s:4:"name";s:6:"point1";s:4:"time";s:7:"[20:40]";s:3:"lat";s:16:"47,4327598955431";s:3:"lng";s:16:"19,2589757429879";s:3:"alt";s:1:"0";s:4:"head";s:3:"129";s:2:"gs";s:1:"0";s:5:"phase";s:7:"Arrived";s:7:"warning";s:1:"0";s:13:"warningdetail";s:0:"";}}}

Link to comment
https://forums.phpfreaks.com/topic/269749-assistance-identifying-format-not-json/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.