Comments (8)
Should lie in a separate repo, say dgraph-io/json
, so people can go get
it without pulling any other dependencies.
from dgraph.
Maybe samething like this ?
package main
import (
"bytes"
"encoding/json"
"fmt"
)
func main() {
b := []byte({"hello": "123"}
)
b, _ = prettyprint(b)
fmt.Printf("%s\n", b)
}
func prettyprint(b []byte) ([]byte, error) {
var out bytes.Buffer
err := json.Indent(&out, b, "", " ")
return out.Bytes(), err
}
from dgraph.
Yeah, something similar. Another contributor is building this tool right now.
from dgraph.
from dgraph.
Tracking in Trello. Closing here.
from dgraph.
@manishrjain What is the issue?
from dgraph.
Do you still want help with this? In Trello it's archived.
from dgraph.
Nvm. It's a small one that we can just hack up quickly. Closing.
from dgraph.
Related Issues (20)
- [FEATURE]: @custom directive to make batch requests to services that accept them
- [QUESTION]: <Snapshot Isolation Testing> HOT 20
- [QUESTION]: IDE for DQL HOT 2
- [QUESTION]: data writing is slow HOT 2
- [BUG]: Online Restore graphql API has no interface to get status
- [ENHANCEMENT]: Simplify Administrative Operations with REST API
- [ENHANCEMENT]: Support case-insensitive sorting of strings HOT 1
- [QUESTION]: full text search - Polish lang support HOT 1
- [ENHANCEMENT]: Sorting using facets
- [BUG]: crash gracefully when dgraph binary version is incompatible with data on disk HOT 3
- [How to use regexp in @filter]: <regexp use> HOT 3
- dgraph performance
- Query profiler: Add an ability to get performance statistics of queries
- [BUG]: Dgraph.Allow-Origin CORS setting does not work as docs claim
- [QUESTION]: Can i write some extension for db
- Can you recommend several graphic libraries that display graph data on the web or Flutter side?
- [BUG]: When build oss degraph alpha exit with error : flags: acl / encryption is an enterprise-only feature
- Cancel schema and improve it to automatically generate schema, modify schema, and update schema based on data without human intervention, and ensure compatibility with historical data. HOT 1
- [Documentation]: <Running dgraph tests on Mac OS> HOT 1
- /run.sh: line 16: dgraph-ratel: command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgraph.