Skip to content

Releases: jsonmodel/jsonmodel

v1.7.0

Choose a tag to compare

@billinghamj billinghamj released this 07 Oct 12:38
  • added generic custom setter method - setPropertyNameWithJSONObject

v1.6.0

Choose a tag to compare

@billinghamj billinghamj released this 05 Oct 17:08
  • added new built-in key mapper - mapperForTitleCase

v1.5.1

Choose a tag to compare

@billinghamj billinghamj released this 12 Sep 09:49
  • when a data transformer is missing, we now return an error rather than throwing an exception

v1.5.0

Choose a tag to compare

@billinghamj billinghamj released this 12 Sep 09:49
  • deprecated mapperFromUpperCaseToLowerCase (not replaced - it didn't really make sense)
  • renamed mapperFromUnderscoreCaseToCamelCase to mapperForSnakeCase for clarity

v1.4.2

Choose a tag to compare

@billinghamj billinghamj released this 12 Sep 09:49

v1.4.1

Choose a tag to compare

@billinghamj billinghamj released this 12 Sep 09:48

v1.4.0

Choose a tag to compare

@billinghamj billinghamj released this 12 Sep 09:47
  • deprecated all JSON->Model key mapper methods for consistency's sake - replaced with equivalent Model->JSON methods with clearer naming

v1.3.0

Choose a tag to compare

@billinghamj billinghamj released this 22 Jul 13:37

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

v1.2.0

Choose a tag to compare

@billinghamj billinghamj released this 22 Jul 13:38
  • 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