如题,用toJson
生成的字符串再用fromJson
读回来会遇到
Exception in thread "main" org.nutz.lang.born.BorningException: Fail to born 'SomeClass'
by args: []
at org.nutz.lang.Mirror.born(Mirror.java:986)
at org.nutz.mapl.impl.convert.ObjConvertImpl.injectObj(ObjConvertImpl.java:190)
at org.nutz.mapl.impl.convert.ObjConvertImpl.inject(ObjConvertImpl.java:81)
......
生成和用于读取的Json为{"videoEncoding":"mpeg4","videoExtension":"mpg","audioEncoding":"aac","streamEncodings":[{"audioBitRate":"50k","videoWidth":400,"videoHeight":300,"videoBitRate":"128k","videoBufSize":"256k","folderName":"","m3u8SegSize":null}]}
对于没有List<SomeClass>
成员的类没问题,感觉遇到[
的时候fromJson
就没法处理了,求助……