cson's Issues
Map 을 받아서 CSONObject 로 변환하는 static 메서드
- Map 타입을 받아서 처리한다.
- 제네릭 타입을 가져와서 변환 가능한 타입인지 검사하고 못한다면 Exception 발생.
- 제네릭 타입을 알 수 없는 경우 변환 중에 처리할 수 없는 타입이 있다면 Exception 발생.
CSONObject 에 from 메서드 추가.
- 인자값으로 Object 혹은 Map 을 받는다.
중첩 Collection 처리
- Collection 내부에 Collection 이 있을 경우 CSONArray 내부의 CSONArray 로 만들어서 반환하야 한다.
- 중첩 Array 는 지원하지 않고, 대신 여기에 @value 를 붙이면 Exception 발생. 중첩 Array는 지원하지 않는다 등 메시지 출력.
CSONSerializer 에 toCSONArray 메서드 추가
- 인자로 Array 혹은 Collection 을 받는다.
올바르지 않은 타입에 @Value 어노테이션을 붙이면 알맞은 Exception 을 발생시켜야함.
- Collection, array, @cson 의 type, 기본타입 및 해당 오브젝트 가 아닐경우 Exception 을 발생
- 컴포넌트 타입도 변환 가능 타입이 아닌경우 Exception 발생
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.