Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5367

PList Store: Find way to handle NSNull values

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0
    • None
    • None
    • None

      the "problem" is that the 'null' (from JSON) is, in Cocoa/ObjC, mapped to NSNull. However, NSNull is, unfortunately, not a "valid" PList object/type.

      There are ways how we could fix it on the library:

      • exclude every key, where value is NSNull (which makes the value 'nil' (not NSNull)
      • see if new 'store' could be written, that simply uses NSJSONSerialization, to store JSON on the "filesystem"

              Unassigned Unassigned
              mwessend@redhat.com Matthias Wessendorf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: