ios - Any way to specify a non-returned value for an RKEntityMapping? -


because working non-kvc rest service have need designate bool attribute isspecial request url rather of returned json. instance, if make request http://www.service.com/getobject?isspecial=no specify attribute isspecial no. can accomplish effect adding multiple response descriptors, 1 each of getobject?isspecial=yes , getobject?isspecial=no, need have way of defining special attribute mapping - not mapping attributes key paths key paths, rather request url. how might accomplish this?

you @ using routing path patterns , using pattern meta data during mapping. i'm not sure can pull out queries individually may need have method on managed object subclass takes meta data , extracts parts want store.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -