|
Re: [texo] conversion from json string to EDataType [message #898991 is a reply to message #898894] |
Mon, 30 July 2012 04:24 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
He Erdal,
Seems to be a solvable bug, can you post the stacktrace?
gr. Martin
On 07/28/2012 11:02 PM, Erdal Karaca wrote:
> I have a request like this:
>
> {"test": 1, "_eclass": "myPackage|Test"}
>
> Test.test is of type EDouble, but it is provided an Integer which leads to a ClassCastException...
>
> Should texo handle proper type conversions or do I have to provide the "right" string in the request, i.e. the following
> request works:
>
> {"test": 1.0, "_eclass": "myPackage|Test"}
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03250 seconds