v1.7.0

@billinghamj billinghamj released this Oct 7, 2016 · 6 commits to master since this release

  • added generic custom setter method - setPropertyNameWithJSONObject

Downloads

v1.6.0

@billinghamj billinghamj released this Oct 5, 2016 · 11 commits to master since this release

  • added new built-in key mapper - mapperForTitleCase

Downloads

v1.5.1

@billinghamj billinghamj released this Sep 12, 2016 · 15 commits to master since this release

  • when a data transformer is missing, we now return an error rather than throwing an exception

Downloads

v1.5.0

@billinghamj billinghamj released this Sep 12, 2016 · 25 commits to master since this release

  • deprecated mapperFromUpperCaseToLowerCase (not replaced - it didn't really make sense)
  • renamed mapperFromUnderscoreCaseToCamelCase to mapperForSnakeCase for clarity

Downloads

v1.4.2

@billinghamj billinghamj released this Sep 11, 2016 · 35 commits to master since this release

Downloads

v1.4.1

@billinghamj billinghamj released this Sep 11, 2016 · 37 commits to master since this release

Downloads

v1.4.0

@billinghamj billinghamj released this Aug 18, 2016 · 46 commits to master since this release

  • deprecated all JSON->Model key mapper methods for consistency's sake - replaced with equivalent Model->JSON methods with clearer naming

Downloads

v1.3.0

@billinghamj billinghamj released this Jul 22, 2016 · 55 commits to master since this release

Sorry for the long time since the last release. We'll be trying to maintain a
more rapid release schedule going forwards.

  • precision issue fixed with deserializing numbers
  • support added for deserializing into a 'root' dictionary (dictionaryOfModelsFromDictionary:error:, etc.)
  • lazy collection-type conversion (ConvertOnDemand) is no longer supported
  • deprecated two way key mapping deprecated - only Model->JSON has ever worked anyway
  • deprecated all networking support
  • deprecated the global key mapper
  • deprecated Index protocol
  • deprecated protocolForArrayProperty: in favor of classForCollectionProperty:
  • modulemap file added to handle use as a framework better
  • success return value added to mergeFromDictionary:useKeyMapping:error:
  • JSONModel has now been moved out into its own GitHub organization, etc. - now maintained by multiple people

Potential Breaking Changes

  • new behavior for handling null values when serializing:
    • values of NSNull will now always null in JSON output
    • values of nil will now never be included in JSON output

Downloads

v1.2.0

@billinghamj billinghamj released this Dec 30, 2015 · 112 commits to master since this release

  • support added for watchOS and tvOS
  • minimum iOS version bumped to 6.0
  • support added for Carthage
  • deprecated +arrayOfModelsFromDictionaries: in favor of +arrayOfModelsFromDictionaries:error:
  • added +arrayOfModelsFromString:error:
  • deprecated +mergeFromDictionary: in favor of mergeFromDictionary:useKeyMapping:error:
  • added support for multiple custom setters
  • fixed -hash implementation
  • added responseData property to JSONModelError
  • added support for creating a key mapper with exceptions (+mapper:withExceptions:)
  • locks now used in key mapper implementation for additional safety
  • fixed behavior of NSURLFromNSString transformer
  • updated project files to latest Xcode
  • updated demo apps to work with the latest JSONModel & external API code

Downloads