JSON
JSON (JavaScript Object Notation) is a standard file format that uses text to communicate data objects to array data types. This notation makes it easy for applications to parse and generate files. JSON grew out of the need to have a real-time server-to-web browser communication.
Here are 16,194 public repositories matching this topic...
Now that Prettier 2.0 has been released with its improved CLI, I think we should add a section do the docs showing a recommended example setup.
- Recommend using an editor extension that lets you run Prettier from your editor. Link to popular extensions. Maybe add some tips on how to configure for example prettier-vscode.
- Recommend adding an empty (
{}) .prettierrc.json to signify to edit
FAQ rev
There are grammatical errors in the English FAQ section:
https://github.com/alibaba/fastjson/wiki/FAQ(English-Version)
I propose that these grammatical errors be revised for readability.
Here are some examples below:
5. fastjson v.s. gson?
fastjson is 6 times faster than gson, here is the testing result: https://github.com/eishay/jvm-serializers/wiki/Staging-Results
fastjson is 6 tim
const XLSX = require('xlsx');
const wb = XLSX.utils.book_new();
const ws = XLSX.utils.json_to_sheet([]);
XLSX.utils.book_append_sheet(wb, ws, 'Bug sheet');
ws.A1 = { t: 's', f: 'square' };
XLSX.writeFile(wb, 'formula.ods');The resulting .ODS file contains:
<table:table-cell table:formula="of:=square" office:value-type="string"><text:p>undefined</text:p></table
What did you do?
When I do this (from your docs):
guard let dataFromString = text.data(using: .utf8, allowLossyConversion: false) else {return} let json = JSON(data: dataFromString)
I get an error "Call can throw, but it is not marked with 'try' and the error is not handled"
I did this. I just want to confirm that is right. It worked for me.
`guard let dataFromString
Repro
Here's my repro case:
https://jsfiddle.net/sethwieder/L46en8b2/40/
Expected
We're passing in an object as the input and expected it to denormalize nested objects based on the provided schema.
Actual
The output duplicate the same item for each index in the input array.
Context
This used to work in 3.2.3, but no longer works as of 3.2.4.
It's unclear to me if t
View the release notes for guidance on migrating => https://github.com/urfave/cli/releases/tag/v2.0.0
Following the README for inserting new items on an array, gives error; insert is not existent; should be corrected to push
Is your feature request related to a problem
Is your feature request related to a problem?
It's still not documented how to do redirections.
The solution you would like
We need a short section in the docs, in the Advanced User Guide, about how to do redirections.
It would have to explain how to use [Starlette's RedirectResponse](https://www.starlette.io/responses/#redirect
I've created a custom plugin which has an <input /> and a <select />.
The editor.onChange method correctly triggers on when the input changes, however does not on select change.
I could be wrong, but is it because of this?
The event.listener is l
-
Updated
Feb 17, 2020 - Objective-C
Search backwards
Hi! Thanks for this tool, I searched for something like this for a looong time. :) One question: Would it be possible to add a shortcut to search backwards (i.e. going back to the previous result, possibly wrapping around at the top)? I immediately assumed it would be possible via N (like in vim) or p, but realized both keys don't have any effect.
Now when oss-fuzz provides pretty code coverage, it is easy to see which parts of the code are not fuzzed properly.
Identify what can be done, and add fuzzers targeting the uncovered code.
I'm upgrading a build environment from python 2 to python 3 and noticed that endpoints with seeded random numbers are not returning the same values. It seems to be related to usage of randint:
https://github.com/postmanlabs/httpbin/blob/f8ec666b4d1b654e4ff6aedd356f510dcac09f83/httpbin/core.py#L1448
It seems like randint is not seed safe and it looks like only random() is: https://bugs.python.o
-
Updated
Jan 3, 2020 - Objective-C
reproduce:
- try a schema without "properties" keyword in the playground
- and a initial-formData of type object ...
=> make sure the formData is a string to have it fixed
Warning: Failed prop type: Invalid prop `value` supplied to `TextWidget`.
in TextWidget
in Unknown (created by StringField)
in StringField (created by SchemaField)
in div (created by WrapI
Source/destinati
Correct the terminology used in code and documentation so that it is consistent with HTTPie and web standards. Examples:
- body parameter -> data field
- operator -> separator
Currently, when SortMapKeys is set to true in Config, map keys are sorted using a standard alphanumeric sort. It should be possible to specify a custom map key sorting function to use, in order to prioritize certain map keys over others.
Example: Standard SortMapKeys behavior:
cfg := jsoniter.Config{
SortMapKeys: true,
}.Froze()
m := map[string]int{
"beta": 2,
"alp
-
Updated
Aug 10, 2019 - Python
RFC 7515, Section 2 states:
JWS Payload
The sequence of octets to be secured -- a.k.a. the message. The
payload can contain an arbitrary sequence of octets.
This is reinforced by the example shown in Appendix A4 using a payload of the string literal Payload.
As
Comparison table
In the future, when Ky is more mature, we should add a comparison table to the readme. Like https://github.com/sindresorhus/got#comparison
-
Updated
Mar 25, 2020
I found Pino when googling for bunyan alternatives, because I'm hoping to replace bunyan in a Node web server project I've inherited.
It would be useful if Pino could add a "Switching from bunyan" docs page as a starting point for people in this position, to list any important conceptual differences and to map bunyan concepts to corresponding Pino concepts.
It's not clear from the website's documentation, or the
--helpoutput, how to do the following equivalent curl task:Post a raw JSON query to ElasticSearch:
T