473,503 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the best way to operate on JSON - pulling, adding and doing a trigger?

2 New Member
Ladies and gentlemen ,i learn by doing simple examples but every time when try to extract some data yourself, rework it and display it as I want it, I have a problem.

I never know when and how and what I have to use to get a typical json
Expand|Select|Wrap|Line Numbers
  1. [
  2.     { item1:
  3.      [ '1',
  4.        '2nd',
  5.        '3thv'
  6.     ] },
  7.     { item2:
  8.      [ '1',
  9.        '2nd',
  10.        '3th'
  11.      ] }  
  12. ]
  13.  
I'd like to format it so that I can delete it into a csv file


My second question is how the easiest way to trigger an event

For example. Gets a get to the json with the X:Y data, then i want the Y value to run a function that returns the new get to another enpoint with a value that depends on X
Aug 1 '20 #1
5 3061
isladogs
457 Recognized Expert Moderator Contributor
There really is no such thing as a typical JSON.
The JSON file syntax allows for a wide range of valid files, some of which are 'legal' but poorly constructed. This can make handling certain JSON files quite tricky

I can't provide links here but the following may be helpful
1. There are free online converters that allow you to convert e.g USON to CSV
2. I have an app on my website which is used for analysing the structure of JSON files then transforming the file for importing into Access as one or more normalised tables.
3. Excel has a very powerful built in feature originally called Power Query but now Get & Transform. This does the same as my Access app but the feature isn't available in Access unfortunately.

Suggest you do an online search for each of these or send me an PM if you need more info.

I have no experience of working with JSON using JavaScript

Sorry but I have no idea what your second question means
Aug 1 '20 #2
dev7060
639 Recognized Expert Contributor
I never know when and how and what I have to use to get a typical json
I'd like to format it so that I can delete it into a csv file
Make changes in the code to parse the obtained json correctly. Once that is achieved, conversion to csv can be done.
Aug 1 '20 #3
momorix
2 New Member
@dev7060
but how am I supposed to parse it ?
Aug 2 '20 #4
isladogs
457 Recognized Expert Moderator Contributor
Did you investigate any of the three suggestions I made?
You can also find JSON parsing code on e.g. GitHub
Aug 2 '20 #5
dev7060
639 Recognized Expert Contributor
but how am I supposed to parse it ?
By writing some code. What is the progress so far?
Aug 2 '20 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

20
5736
by: O Ransen | last post by:
Hello all, I hope you can help me. Given graphical idea for a page: http://www.ransen.com/temp/temp.htm (Large image, please be patient!) What is the best way of constructing this page...
1
1262
by: pantichd | last post by:
Hello, When I debug a VB.net program and stop at a breakpoint I'd like to be able to see what the collection actually contains. In the watch I keep expanding the "SyncRoot" which just keeps...
9
1588
by: Eqbal | last post by:
I have been asked to include this piece of code on certain pages so people can track if a user is coming to that page after clicking a banner ad. I do not understand how this works. Anyone can...
2
3840
by: Bob Stearns | last post by:
It isn't in the places I looked in the SQL Reference, but examination of syscat.triggers yields 18, if I read it correctly. Is 18 correct?
4
2656
by: dave | last post by:
Hi, I have a job where it will involve checking large volumes of addresses against a master address table. The master address table contains approx 1.7 million addresses. The files (normally...
3
11047
by: Arielle | last post by:
Good afternoon, here I am again with a new bugger of a problem. I'm working on an update for an existing program that uses classic ASP with a good SQL Server backend. The application server is...
0
1132
by: sheenaa | last post by:
Hi Everyone, I m using ASP.NET 2005 with C# and SQL SERVER 2005. I m using stored procedure and sql datasource control to retrieve the data. I want to use the trigger...
4
2433
by: gio1405 | last post by:
I am kind of a beginner in C# and I have to do a program in which i have to add all the numerical values of the text boxes. My code starts like this: float.nTxtbox1 = float.parse (txtbox1.text); ...
0
1124
!NoItAll
by: !NoItAll | last post by:
Hi: If someone wouldn't mind helping me out. I have some code from an example from reachmail.net. It was in C# but I've refactored it to vb.net. But, I'm ignorant and although I can follow all...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.