EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: pvget -M json is JSON5
From: NICOLE Remi via Core-talk <core-talk at aps.anl.gov>
To: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Wed, 7 Feb 2024 10:28:06 +0000
Hello everyone,

I planned on upgrading EPICS from 7.0.7 to 7.0.8 in our build system,
but had some errors in our PV access tests.

Apparently, in 7.0.8, the 'pvget my:pv -M json' now returns JSON5:

    my:pv:name
{value:42.0,alarm:{severity:0,status:0,message:""},display:{description
:"My PV description"}}

Where before in 7.0.7, it returnd standard JSON:

    my:pv:name
{"value":42.0,"alarm":{"severity":0,"status":0,"message":""},"display":
{"description":"My PV description"}}

Was this a conscious choice? I don't see the change in the release
notes. I think for interoperability, standard JSON would be better.

Thanks a lot, and have a great day!
--- 
Rémi NICOLE <remi.nicole at cea.fr>  
CEA/DRF/IRFU/DIS/LDISC


Replies:
Re: pvget -M json is JSON5 Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Build failed: EPICS Base 7 base-7.0-1090 AppVeyor via Core-talk
Next: Re: pvget -M json is JSON5 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Build failed: EPICS Base 7 base-7.0-1090 AppVeyor via Core-talk
Next: Re: pvget -M json is JSON5 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024