Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
JSON
Updated June 11, 2017
trending_up
1,535 views
thumb_up
1 thanks given
group
3 followers
forum
5 posts
attach_file
0 attachments
JSON
May 3rd, 2017, 05:26 PM
Onsala Sweden
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1
Hello,
I wonder if there is some JSON-parser available to use in MultiCharts ?
I get JSON data which have to be parsed into arrays or lists.
Many thanks in advance
Shahram
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
May 4th, 2017, 02:14 AM
Gits (Hooglede) Belgium
Legendary Market Wizard
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863
ShahramTor
Hello,
I wonder if there is some JSON-parser available to use in
MultiCharts ?
I get JSON data which have to be parsed into arrays or lists.
Many thanks in advance
Shahram
Have you tried NewtonSoft ?
It is available as a .net package (dll)
May 4th, 2017, 02:18 AM
Onsala Sweden
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1
rleplae
Have you tried NewtonSoft ?
It is available as a .net package (dll)
No, but I will do it immediately!
Thanks!
May 4th, 2017, 07:14 AM
Onsala Sweden
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1
Hello,
As you write before, it is a .net package and I run a regular MC.
Is there any other options?
Regards
May 4th, 2017, 09:05 AM
Gits (Hooglede) Belgium
Legendary Market Wizard
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863
It is not that difficult, please read this article :
https://www.tradingcode.net/multicharts-net/net-editor/create-add-dll/
in c# you can easily use the JSON library :
jsonIN = System.IO.File.ReadAllText(@".\underlying.xml");
UnderlyingList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<UnderlyingData>>(jsonIN);
June 11th, 2017, 06:40 AM
Munich Germany
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 1
why don't you use DataContractJsonSerializer
Last Updated on June 11, 2017