Skip to content
#

JSON

json logo

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,541 public repositories matching this topic...

sheetjs
parkerduckworth
parkerduckworth commented Nov 26, 2019

The README, under the Parsing Options header, states that:

WTF is mainly for development. By default, the parser will suppress read errors on single worksheets, allowing you to read from the worksheets that do parse properly. Setting WTF:1 forces those errors to be thrown.

However, in order to invoke that option I had to assign a valu

jethmalani
jethmalani commented Nov 14, 2017

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

json
editor.js
PaulKinlan
PaulKinlan commented Jan 3, 2020

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

fx
antonmedv
antonmedv commented Dec 11, 2019

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)' fromPairs

But 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 so
fastapi
thomas-riccardi
thomas-riccardi commented Nov 8, 2019

Actual:

$ curl -vvv https://httpbin.org/absolute-redirect/2 |& grep Location
< Location: http://httpbin.org/absolute-redirect/1

Expected:

$ curl -vvv https://httpbin.org/absolute-redirect/2 |& grep Location
< Location: https://httpbin.org/absolute-redirect/1

=> I would expect that the used protocol is conserved in the absolute-redirect feature.

jjwt
aamarfii
aamarfii commented Nov 27, 2019
/**
 * 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

Created by Douglas Crockford

Released 2005

Website
www.json.org
Wikipedia
Wikipedia

Related Topics

database xml react
You can’t perform that action at this time.