[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] question on using the tree method to read a JSON file



The Json file I am reading has a ‘-‘ in the field name  arrt-id

 

I am using the following as part of a larger select statement

when key = 'arrt-id';                             

  Result.list(i).arrt-id = yajl_get_string(val);  

  arrtidsave  = result.list(i).arrt-id;      

 

I get back a 7030 on the highlighted statement saying id not defined.  The one above it gets a RNF5347.

 

I need to use arrt-id because that is what is in the JSON file, right?

 

I am not sure how to get around it.

 

Any ideas are appreciated,

 

Thanks,

      

 

Georgeann Rybak

 

Software Engineer, Information Technology

The American Registry Of Radiologic Technologists®

 

Direct Phone & Fax 651.681.3133 | Main Phone 651.687.0048

1255 Northland Drive, St. Paul, MN 55120

arrt.org

 

 

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi