Resource handling enhancements #2

Merged
merged 3 commits into from Nov 6, 2012

1 participant

@pengwynn
lostisland member

Some changes to support crazy, jacked up JSON keys like {"8": "eight", "@android": "android.xml"}.

  • Instead of ivars, it uses #attrs.
  • Also does not try to hydrate resources for Arrays of non-hashes.
pengwynn added some commits Nov 1, 2012
@pengwynn pengwynn Handle arrays of strings 4e68e36
@pengwynn pengwynn Handle simplified HAL link hashes 6c8c5b2
@pengwynn pengwynn Switch from ivar to attrs for Resource fields
Some JSON is waacked. This change supports key
names like '8' => 'eight' and '@file' => 'file.xml'
via [] notation.
123da27
@pengwynn pengwynn merged commit 2e4865d into master Nov 6, 2012

1 check passed

Details default The Travis build passed
@pengwynn pengwynn deleted the resource-handling branch Jan 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment