Code Monkey home page Code Monkey logo

go-json's Introduction

go-json

This is a fork of Go's encoding/json library. It adds a third target for unmarshalling, json.Node.

Unmarshalling to a Node behaves similarly to unmarshalling to any, except that it also records the offsets for the start and end of the value that is unmarshalled and, if the value is part of a JSON object, the offsets of the start and end of the object's key. The Value field of the Node is unmarshalled to the same type as if it were any, except in the case of arrays and objects:

JSON type Go type, unmarshalled to any Node.Value type
Array []any []Node
Object map[string]any map[string]Node
Other any any

go-json's People

Contributors

a8m avatar ainar-g avatar ajeddeloh avatar altree avatar bcmills avatar bgilbert avatar bradfitz avatar breml avatar caarlos0 avatar cuonglm avatar dmitshur avatar dsnet avatar dvyukov avatar ekalinin avatar eliben avatar filosottile avatar fraenkel avatar kevinburke avatar leighmcculloch avatar mvdan avatar neild avatar pascaldekloe avatar philpearl avatar rajender avatar rentziass avatar rolandshoemaker avatar rsc avatar stemar94 avatar tmthrgd avatar wi2l avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-json's Issues

Missing LICENSE file

While packaging ignition for Debian, I discovered that this fork is missing a LICENSE file. As the copyright headers of the source files refer to a "BSD-style" license in a LICENSE file. This file is missing in the repository.

As it stands now, the code here on GitHub does not have a valid license and, considering it should be a BSD-style license, probably violates the original authors' license terms, which require inclusion of the BSD licensing terms.

Can you please add the license as soon as possible?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.