Skip to main content

Questions tagged [json]

JSON (JavaScript Object Notation) aka the Fat Free Alternative to XML is a lightweight data exchange format inspired by JavaScript object literals. It is often used with JavaScript, Ajax, and RESTful web services but is completely language independent.

0 votes
0 answers
11 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-2 Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json.l ...
Loki Astari's user avatar
  • 98.5k
1 vote
1 answer
27 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-1 From Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json1.cpp ...
Loki Astari's user avatar
  • 98.5k
7 votes
2 answers
885 views

I wrote a JSON parser for a coding challenge: https://codingchallenges.fyi/challenges/challenge-json-parser It's a recursive descent parser that just tells whether the JSON string is of proper syntax. ...
kiner_shah's user avatar
6 votes
2 answers
358 views

In a previous review, there was a request to simplify code that looked like this: ...
Loki Astari's user avatar
  • 98.5k
-2 votes
1 answer
146 views

Pprof Profiling Snapshot I have a critical user facing Go API in which I call an internal API. The API response time is <200ms but the response unmarshalling with goccy JSON is taking 500ms. The ...
user avatar
7 votes
1 answer
789 views

I decided to create cli(s) in C++. For instance a music player which will play music from my library via commands player play muse or ...
Hrant Nurijanyan's user avatar
6 votes
1 answer
186 views

I have an image gallery of old internet banner ads that pulls URLs and metadata from a JSON file and then displays them based on a set of user-selectable filters. The filters can show/exclude images ...
fish's user avatar
  • 160
4 votes
2 answers
159 views

When doing Data Science projects, I often have to load data and metadata, and output results, plots, logs, etc. Therefore I have to handle all the file paths from where to load the input and write the ...
Alessandro Cesa's user avatar
5 votes
2 answers
123 views

I am a beginner programmer and have recently started learning python. I wrote this code as a little project to understand dictionaries better and ended up having to learn to use JSON. I am self-taught,...
Nav's user avatar
  • 53
7 votes
1 answer
133 views

I've written a simple recursive descent JSON parser in Rust. It just reads in a JSON file and prints the syntax tree to the terminal. I'm still learning Rust, and I'd appreciate any review/feedback. ...
Brendan Wilson's user avatar
3 votes
2 answers
145 views

I stumbled across something a long while ago, fetching the environments variables from say env under linux (say on a pod via argos), anyway, point is I could fetch ...
Natalie Perret's user avatar
2 votes
0 answers
64 views

We need to implement a simple redaction function to redact (set to undefined) certain JSON elements when logging the JSON. The requirements are: We can't modify the current JSON object, as that ...
lincolnadym's user avatar
5 votes
2 answers
395 views

A simple recursive descent JSON parser. The entrypoint to the code is the parse function. Since I'm pretty new to common lisp, I wanted to get feedback on how to ...
zoravur's user avatar
  • 51
-2 votes
1 answer
119 views

I've an object that looks like this, and users have been populating the attributes post-initialization, e.g. ...
alvas's user avatar
  • 709
6 votes
2 answers
726 views

I have this code which sets values in a location class from values from JSON data. ...
Asher Ross's user avatar

15 30 50 per page
1
2 3 4 5
59