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 15,637 public repositories matching this topic...
It would be helpful to new users who want to communicate with the site administrator or get on a mailing list to include a contact subsection under the README.md file as a subsection.
There is a difference in safegetzipfile method between xlsx.js & xlsx.mini.js.
One is missing replace(/^Root Entry[\/]/,"") so I get this error "Cannot find file [Content_Types].xml in zip" ev
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
Hi @nlohmann and other mainteners,
First of all, I must say that I love your work on this librairy.
It feels really easy to use, and to read code using this library !
I have created this issue to talk about the warnings that cppcheck found on this project.
I'm currently experimenting with both this library and cppcheck on some little side projects. A
surfaced via urfave/cli#269
Following the README for inserting new items on an array, gives error; insert is not existent; should be corrected to push
-
Updated
Feb 20, 2020 - Objective-C
The current behaviour of the onChange event mandates that the callback needs to be in a closure on the config object because the editor instance isn't available from the onChange event any other way.
e.g
let editor = new EditorJS({
...
onChange: changeHandler
})
changeHandler = () => { editor.save() }
I don't always have access to the editor instance in some abstraction
Describe the bug
The generated OpenAPI schema duplicates parameter IDs when used with dependencies.
To Reproduce
Steps to reproduce the behavior with a minimum self-contained file.
- Create a file with:
from fastapi import Depends, FastAPI
from starlette.testclient import TestClient
app = FastAPI()
async def user_exists(user_id: int):
return True
Currently, each argument to fx treated as an anonymous function. Here is an example:
fx 'groupBy("commit.author.name")' 'mapValues(size)' toPairs 'sortBy(1)' reverse 'take(10)' fromPairsBut this requires a lot of ' quotes. My idea is to split the argument by whitespaces . So next will be possible to write:
fx 'groupBy("commit.author.name") mapValues(size) toPairs soSearch backwards
Currently all we have in terms of documentation are the comments in the code and the README:
https://github.com/lemire/simdjson#navigating-the-parsed-document
We need an actual tutorial.
cc @davidglavas
Currently HTTPBIN implements the status code 103, however it isn't all that useful.
From my understanding, 103 should be be followed by another status code when the request is complete.
I want to try and implement this behaviour, where should it be implemented? Perhaps there should be a new route for "/informational" ?
-
Updated
Feb 17, 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
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
Looking at the docs for methods that can throw exceptions for Newtonsoft i.e. https://www.newtonsoft.com/json/help/html/M_Newtonsoft_Json_Linq_JObject_GetValue.htm, I don't get any information about the types of exceptions being thrown by this method or if they throw exceptions at all.
The two reasons I ask are
- I have just been caught out by
SelectTokenon JObject throwing an exception
- the leaf level should report the error context clearly, without appending context from the levels above
- add config to allow panic on error to fail fast
-
Updated
Feb 21, 2020 - Python
/**
* Returns the JWT <a href="https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-25#section-4.1.6">
* <code>iat</code></a> (issued at) timestamp or {@code null} if not present.
*
* <p>If present, this value is the timestamp when the JWT was created.</p>
*
* @return the JWT {@code nbf} value or {@code null} if not present.
*/
Date getIssu
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
Port tests from Got
-
Updated
Feb 18, 2020
The documentation of the boltons.timeutils.daterange function only mention date objects as input, but I discovered that it works with datetime objects as well. Explicitly stating so would be great. Thanks!
Created by Douglas Crockford
Released 2005
- Website
- www.json.org
- Wikipedia
- Wikipedia
In
=syntax,")\)are escaped in
json.dumps:$ http -v httpbin.org/post \ dquote='\"' \ multi-line='line 1\nline 2'