나의 성장과정  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
[jackson] not marked as ignorable

json stream 을 jackson lib 로 parsing 할때 발생했다.

원인은 json key 에 대문자(capital)이 온 것이 화근

ex) { Result : "{resultcoe:0}" }

json stream으로 API 를 제공해준 팀에 "Result" 를 소문자로 변경해달라고 요청 했으나 기 서비스에도

이미 대문자로 나가있다는 답변을 듣고서 검색 후 적용.

 

private Result Result;

 

@jsonProperty("Result")

public void setResult(Result result) { this.Result = result; }

 

참조 http://jackson-users.ning.com/forum/topics/problem-with-upper-case-letter



BLOG main image
Simple is beatiful!
 Notice
 Category
분류 전체보기 (755)
전직 (0)
일상 (7)
진행중 (6)
3Fs (14)
미정 (3)
Serendipitous! (6)
지르자 : 맥북 (5)
(5)
FaceBook (3)
 TAGS
primitive URL URLConnection Eclipse 커피 DOM Java 사파리 laserjet HP tomcat JS JavaScript 접근지정자 Safari color 자바스크립트 Debug CP1215 네트워크
 Calendar
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
 Recent Entries
 Recent Comments
 Archive
 Link Site
상상할 수 있는 힘이 ..
즐겁게살자
인생의 소중한 꿈
{fly to the ocean.com}
누노의 컴퓨토피아
한RSS
[지인]I can\'t stop. Love. Lo…
[원츄]OK 괜찮아 다 잘 될거야
[원츄]애자일 이야기
[원츄]IBM Developerworks
 Visitor Statistics
Total :
Today :
Yesterday :
rss