You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line is confusing for me, I imagine on my first approach to this library that the mapKeyPath is the server response JSON key and the attribute is the Model attribute, but seems to be that they must go swapped?
Otherwise I have an error validating the key into the DCAttributeSetter class implementation, the line that validates the value fails with the first attribute If the line above is not present. Anyway I couldn't solve the problem at all, now with the second attribute imageUrl (named identically on the hash) is failing on the same line.
Hi all,
I'm having problems to parse a JSON Structure like that:
]
I have a Moon class defined in this way:
And a the corresponding DCParserConfiguration setup for this class is:
I've added the following line to config trying to fix the problem, but I think that shouldn't be there.
This line is confusing for me, I imagine on my first approach to this library that the mapKeyPath is the server response JSON key and the attribute is the Model attribute, but seems to be that they must go swapped?
Otherwise I have an error validating the key into the DCAttributeSetter class implementation, the line that validates the value fails with the first attribute If the line above is not present. Anyway I couldn't solve the problem at all, now with the second attribute imageUrl (named identically on the hash) is failing on the same line.
I'm really stuck with this and any help to try to solve my issues is really appreciated.
Best,
Hernan
The text was updated successfully, but these errors were encountered: