Comments (1)
One thing I see is that the line
self.setValue("NSString", forKeyPath: "propertyArrayMap.Id")
may not be necessary. Setting the propertyArrayMap key path only needs to happen when the data type is an array. This is because the parser will otherwise not know what object it should be trying to parse since it is not explicitly given in the JSON.
Also, I haven't done any testing in Swift, so your guess is as good as mine here.
from nsobject-objectmap.
Related Issues (16)
- Self closing tag with spaces. HOT 7
- Double Alloc HOT 1
- Error while running the demo project MapTest HOT 1
- Handling the attributes in xml HOT 1
- JSON-Boolean <---> Objective-C BOOL HOT 2
- Subclassing - Init infinite loop HOT 3
- Swift Support HOT 2
- How to fetch Soap String HOT 6
- Did this support valueTransfor ? eg. NSString to NSURL auto.
- Crash because of NULL properties and nil objects HOT 1
- Help creating my custom object class
- Doubt
- Suddenly stopped working for a simple nested object HOT 2
- null node get value error HOT 5
- Specific mapping from JSON to NSObject property HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsobject-objectmap.