I'm using JSONKit with AFNetworking's AFHTTPClient (with AFJSONRequestOperation) and I can't seem to figure out how one might trigger the use of the mutableObjectFrom... methods of JSONKit rather than the normal parser methods which return (or arrays of) JKDictionary.
Is this possible without modifying AFNetworking?
For NSJSONSerialization based operation of AFNetworking, in AFJSONUtilities.m line 203, change:
to
In the latest version of AFNetworking, you can achieve this without modifying code. After you create a AFJSONRequestOperation *operation & before you call [operation start], add
You can then iterate through the JSON and modify the underlying NSMutableDictionaries
You can't do that without editing AFNetworking code.
In AFJSONUtilities.m change (line 103)
By