Re: JSON deserialize

2019-07-24 Thread Greg Keogh
Visual Studio can automatically add these elements to a project's config file if you want, but if you have dozens of projects then a real jumble of config files and redirects arises. I hate these spurious files because they're a clumsy way of hiding real problems. I always experimentally comment

Re: JSON deserialize

2019-07-24 Thread David Rhys Jones
Hi Just my .02c but I have had nothing but problems with microsoft json serializers. Davy On Wed, 24 Jul 2019, 05:33 Greg Keogh, wrote: > > it's worth noting that NewtonSoft Json.NET will NOT be installed by > default as of .Net Core 3.0: > > I was preparing an invoice to send to James

Re: JSON deserialize

2019-07-24 Thread Grant Maw
Not sure if this helps anyone, and it is not a silver bullet, but with versioning conflicts I tend to handle them in the config file under the tag : This usually takes care of any versioning issues I have as a result of adding 3rd party libraries or Nuget packages. On

Re: JSON deserialize

2019-07-24 Thread DotNet Dude
Apparently Mr NewtonSoft is now working for Microsoft on the Json project ;-) On Wed, 24 Jul 2019 at 14:33, Greg Keogh wrote: > > it's worth noting that NewtonSoft Json.NET will NOT be installed by > default as of .Net Core 3.0: > > I was preparing an invoice to send to James Newton-King to

Re: JSON deserialize

2019-07-23 Thread Greg Keogh
> it's worth noting that NewtonSoft Json.NET will NOT be installed by default as of .Net Core 3.0: I was preparing an invoice to send to James Newton-King to charge him for the countless hair-tearing hours of my life wasted trying to get rid of version conflict errors in my builds. So many wildly

Re: JSON deserialize

2019-07-23 Thread Nathan Schultz
gt;> >> dynamic obj = deseriize >> >> Console.write(obj[0].id) >> >> Hth >> >> Davy >> >> >> >> Sent from my Samsung Galaxy smartphone. >> >> ---- Original message >> From: Tom P >> Date: 18/0

Re: JSON deserialize

2019-07-21 Thread Tom P
gt; dynamic obj = deseriize > > Console.write(obj[0].id) > > Hth > > Davy > > > > Sent from my Samsung Galaxy smartphone. > > Original message > From: Tom P > Date: 18/07/2019 01:19 (GMT+01:00) > To: ozDotNet > Subject: JSON des

Re: JSON deserialize

2019-07-17 Thread djones147
: JSON deserialize Hi allNoob question here as it seems my brain is not working at all.I have json like this:{  “Some GUID”: {    “Id”: “Some GUID”,    “Property1”: “abc”,    “Property2”: 123.45,    “Property3”: false  },  “Another GUID”: {    “Id”: “Another GUID”,    “Property1”: “def

Re: JSON deserialize

2019-07-17 Thread Greg Keogh
Hi Tom, that deserialises okay via Json.NET (LINQPad pasted below) --* GK* [image: image.png]

JSON deserialize

2019-07-17 Thread Tom P
Hi all Noob question here as it seems my brain is not working at all. I have json like this: { “Some GUID”: { “Id”: “Some GUID”, “Property1”: “abc”, “Property2”: 123.45, “Property3”: false }, “Another GUID”: { “Id”: “Another GUID”, “Property1”: “def”,