Does anyone know what that format is?

rambobambo

Newbie
Joined
Feb 14, 2019
Messages
21
Reaction score
3
I bought Facebook account on AccsMarket and they sent me a file in a format which I don't recognize and I have no idea how to convert it to JSON format.
I tried to contact their support, but they said that they are not going to tell me because I should know that before I buy any account on their site.

Can anyone know what this format is and how to convert it to JSON?
 

Attachments

  • Bez tytułu.png
    Bez tytułu.png
    101.6 KB · Views: 164
It's not really helpful, because I want to covert to JSON format, but I don't know what the original file format is which I showed on the picture above.
 
Firstly the seller is acting like a moron.

Second, https://www.google.com/search?source=hp&ei=B4QoXtuYLtKKlwTVwIGIDw&q=convert+txt+to+jsoin&oq=convert+txt+to+jsoin&gs_l=psy-ab.3..0i131j0j0i131l3j0l5.2361.5772..6001...0.0..0.1089.2985.6-1j2......0....1..gws-wiz.khmiiIkh-4s&ved=0ahUKEwibuP3E25fnAhVSxYUKHVVgAPEQ4dUDCAc&uact=5

I tried to convert this file from txt to JSON, but it still doesn't work. I have to contact with this motherfuckers again.
 
You can't convert it to JSON, since it's a JSON file with escaped characters.
At least it seems to be from the image.

So you could convert it to an object or array in PHP.

$data = json_decode($json, true);
// numeric/associative array access
echo $data[1]['title'];
 
It's "escape text" isn't it? Unescape it = convert it to regular text, then you will be able to convert it to JSON
 
It's "escape text" isn't it? Unescape it = convert it to regular text, then you will be able to convert it to JSON
I tried do that way, but still can't figure it out, if you want to try it or anyone else I share that file and you can take that account if you solve that, but please share with me how you did that :D
 

Attachments

This is PHP serialize format. You can use PHP deserialize and it will convert it to array. Then you can di whatever you want with it. You can convert the array to json with one command.
 
just remove all backslashes and it should be regular json from what i can see. you can use notepad++ for it and replace all occurences of
\"
with
"
 
This is PHP serialize format. You can use PHP deserialize and it will convert it to array. Then you can di whatever you want with it. You can convert the array to json with one command.
I tried to deserialize but got instant error "Cannot read property 'SyntaxError' of undefined"
 
T
just remove all backslashes and it should be regular json from what i can see. you can use notepad++ for it and replace all occurences of
\"
with
"
Tried too, but still doesn't work
 
Back
Top