JSatchwellesriaustralia-com-au-esridist

com.esri.ges.spatial.Spatial: fromJson() method returning null

Discussion created by JSatchwellesriaustralia-com-au-esridist Employee on Feb 10, 2014
Latest reply on Feb 20, 2014 by JSatchwellesriaustralia-com-au-esridist
Hi,

I'm trying to return a (com.esri.ges.spatial.geometry) Geometry using the Spatial class fromJson() method.

My json string is as follows:

{"rings":[[[149.87050228700002,-26.352560474999905],[149.84042669100006,-26.36871493399991],[149.831659134,-26.366654500999914],[149.80726089100006,-26.329536270999938],[149.814689283,-26.314192088999
903],[149.84592438100003,-26.32438337499991],[149.864824934,-26.335550377999937],[149.87050228700002,-26.352560474999905],[149.87050228700002,-26.352560474999905]]],"spatialReference":{"wkid":4283}}

When i run my test I just get a null Exception.  Is there something wrong with my JSON string?

thanks in advance for any help.

Outcomes