alibaba / alibaba/HandyJSON

<null> nil 的问题

Open
#266 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

**环境:Swift、Nodejs**
**版本:4.1.1**
**Model**
1
**从Model取值**
2
**formData Logs**
["latitude": nil, "name": nil, "location_info": nil, "new_user": Optional("1"), "gender": nil, "phone_number": Optional("18710106556"), "user_id": Optional("5b2e2d24744fd3e5429717c9"), "avatar_url": Optional("5b2e2d24744fd3e5429717c9_20180623192123"), "passwords": nil, "longitude": nil, "sign": nil]

**Nodejs接收的值为**

4

**怎么处理掉\呢**

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified in the report. Start by reproducing the nil-value mapping with the provided Swift 4.1.1 and Node.js setup, then trace how the model values become form data and are received by Node.js. Done means establishing the expected null representation and confirming that all affected fields follow it.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, swift
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.