Skip to content
TORNLIFE More

Error in get faction basic

Started by Prokrist [585251] on in API Development.

4 replies · 83 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 5 / 5 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
5
Discussion span
→
People posting
3
Likes on archived posts
1
Authority score
50 / 100
Historical score
21 / 100
Story score
25 / 100
Engagement score
43 / 100
Prokrist [585251]

A faction has peace treaties :

"peace": {
"13129": 1495531145,
"24884": 1475144866
}

A faction does not have peace treaties:

"peace": [ ]

The first is an object (dictionary in this case), the second is an array.

http://www.json.org/

This kinda screws with my json to object mapping ... I can do a work around, but this looks like abug to me.