alibaba / alibaba/HandyJSON

自定义解析规则的时候,toJson可不可以不处理?

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

Description

在自定义解析规则的时候,toJson可不可以不做处理?有时候fromJson将一个类型转化为需要的另一个类型,但是在toJson的时候需要保持这种类型,请问要怎样处理?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the custom parsing-rule APIs and tracing how fromJson and toJson handle a converted value; done means establishing whether toJson can be skipped or configured independently, with the behavior covered by a focused test or documented usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.