Thread
:
REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/08/22)
View Single Post
rio_
Junior Member
Join Date: Feb 2017
09-02-2017 , 02:11 Re: REST in Pawn - Communicate with JSON REST APIs
#
25
Is there no way to see if a key exists in a JSONObject? Even GetString produces an exception if the key doesn't exist, and only returns false if the key is set but is null. I feel like that's a huge piece that's missing... It shouldn't be up to the API you're communicating with to insert a null value for every possible key it could return.
Last edited by rio_; 09-02-2017 at
20:37
.
rio_
View Public Profile
Send a private message to rio_
Find More Posts by rio_