<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/fastjson/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/fastjson/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/fastjson/bugs/</id><updated>2012-11-01T23:14:49Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Parsing results weird</title><link href="https://sourceforge.net/p/fastjson/bugs/3/" rel="alternate"/><published>2012-11-01T23:14:49Z</published><updated>2012-11-01T23:14:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd76d169c1512afb7b0cfd97fa637c4d01fa2aeb3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have attached file which is parsed without errors but lot of content got lost.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>a bug with JSONField annotation</title><link href="https://sourceforge.net/p/fastjson/bugs/2/" rel="alternate"/><published>2011-12-26T08:20:38Z</published><updated>2011-12-26T08:20:38Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net06b8aa0ebc76e7e63c7888570c6ca58b499ff016</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;now m using fastjson v1.1.14. and when i using annotation of @JSONField(format="yyyy年MM月dd日"), whick is the chinese date formate. the code will throw an exception as following:&lt;/p&gt;
&lt;p&gt;Exception in thread "main" com.alibaba.fastjson.JSONException: create asm serilizer error,&lt;/p&gt;
&lt;p&gt;and my code as following:&lt;/p&gt;
&lt;p&gt;public class Person {&lt;br /&gt;
private String name;&lt;br /&gt;
private Date birthday;&lt;br /&gt;
@JSONField(name="StudentName")&lt;br /&gt;
public String getName() {&lt;br /&gt;
return name;&lt;br /&gt;
}&lt;br /&gt;
public void setName(String name) {&lt;br /&gt;
this.name = name;&lt;br /&gt;
}&lt;br /&gt;
@JSONField(name="StudentBirthday", format="yyyy年MM月dd日")&lt;br /&gt;
public Date getBirthday() {&lt;br /&gt;
return birthday;&lt;br /&gt;
}&lt;br /&gt;
public void setBirthday(Date birthday) {&lt;br /&gt;
this.birthday = birthday;&lt;br /&gt;
}&lt;br /&gt;
@JSONCreator()&lt;br /&gt;
public Person(@JSONField(name="StudentName")String name, @JSONField(name="StudentBirthday")Date birthday) {&lt;br /&gt;
this.name = name;&lt;br /&gt;
this.birthday = birthday;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;mainmethod:&lt;/p&gt;
&lt;p&gt;public static void main(String[] args){&lt;br /&gt;
new Person("Mc", Calendar.getInstance().getTime());&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;if i change the format from yyyy年MM月dd日 to yyyy-MM-dd, it will be OK.&lt;br /&gt;
is there anyone can help me to resolve the problem? Thx :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Is it bug or feature?</title><link href="https://sourceforge.net/p/fastjson/bugs/1/" rel="alternate"/><published>2011-06-20T16:03:50Z</published><updated>2011-06-20T16:03:50Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd224e4b333b641348cc4ece7af11cddb09634f1c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;{&lt;br /&gt;
Dictionary&amp;lt;string, object&amp;gt; object1 = new Dictionary&amp;lt;string, object&amp;gt;();&lt;br /&gt;
object1.Add("number", 234);&lt;br /&gt;
List&amp;lt;object&amp;gt; list = new List&amp;lt;object&amp;gt;();&lt;br /&gt;
object1.Add("array", list);&lt;br /&gt;
{&lt;br /&gt;
Dictionary&amp;lt;string, object&amp;gt; dictionary = new Dictionary&amp;lt;string, object&amp;gt;();&lt;br /&gt;
dictionary.Add("key", "Value");&lt;br /&gt;
dictionary.Add("flag", true);&lt;br /&gt;
list.Add(dictionary);&lt;br /&gt;
}&lt;br /&gt;
string json1 = JSON.Instance.Stringify(object1);&lt;br /&gt;
object object2 = JSON.Instance.Parse(json1);&lt;br /&gt;
string json2 = JSON.Instance.Stringify(object2);&lt;br /&gt;
if (json1 != json2)&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine(json1);&lt;br /&gt;
Console.WriteLine(json2);&lt;br /&gt;
throw new Exception();&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>