Skip to content
Advertisement

Tag: json

Create a json file from a html form

I have a html form and I want to create a json-file with data introduced in html fields. Right now, it is visible in console json-text but it doesn’t create a new json-file with this content. Also,I have an error, Uncaught ReferenceError: require is not defined. Answer It seems you are on the frontend. You can’t write files like this

How to make a hyperlink function that changes according to cell value?

I want to put a value into the cell and get a research hyperlink. I’m using the link: https://projudi.tjpr.jus.br/projudi/processo/buscaProcesso.do?actionType=pesquisaSimples&flagNumeroUnico=true&numeroProcesso= For example, I write a value (00156610320218160021) in a blank cell, and after this, the link it will be: The next cell, if I write this value (0012204-19.2019.8.16.0025), the link will be: =HYPERLINK(“https://projudi.tjpr.jus.br/projudi/processo/buscaProcesso.do?actionType=pesquisaSimples&flagNumeroUnico=true&numeroProcesso=0012204-19.2019.8.16.0025″;”0012204-19.2019.8.16.0025”) Important things: Before I write this numbers, the

Unable to remove data from json file on disk

I’m unable to find a way to remove whole line of JSON data(line) after it’s used. For some reason delete is not working or rather said not doing anything. .JSON code The goal here is to select random code, which is done but then I need to remove it from .JSON file so it won’t repeat. I tried several things

separate json object into different index

I have following array which consist of json objects: I want to separate the array index for each same id as an example : How to do like that ? thanks Answer you can use reduce to group by id and then the values of the resultant using Object.values EDIT ??= is the Logical nullish assignment. The right hand side

Outputting JSON from Curl APi call to Ajax

I am working on a course project in which I am required to use php to make api calls. The Ajax call looks like this: The php api call looks like this: This works perfectly. I have used the same routine to make similar calls go the geonames API and had no issues doing so as they provide the name

search for value in json and return the main key [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 12 months ago. Improve this question i have a json with structure like this Now if I search for

Advertisement