Giter Site home page Giter Site logo

json-toolkit's People

Contributors

cherkavi avatar dependabot[bot] avatar jonaslagoni avatar recursivecodes avatar tyleradams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

json-toolkit's Issues

Build fails on MacOS

The build runs

sudo apt install -y libpq-dev

This doesn't work on MacOS. It also won't work on Fedora/Centos/RHEL.

Another requirement? (libpq-dev)

On my system (Ubuntu 20.04.2 LTS) I also needed to:

sudo apt install libpq-dev

After seeing this error when doing make...

...
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5eu3ll3e/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5eu3ll3e/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info
         cwd: /tmp/pip-install-5eu3ll3e/psycopg2/
    Complete output (23 lines):
    running egg_info
    creating /tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info/psycopg2.egg-info
    writing /tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to /tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file '/tmp/pip-install-5eu3ll3e/psycopg2/pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    
    Error: pg_config executable not found.
    
    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
...

no documentation for json-sql

There is no documentation for json-sql. The script is sufficiently complex that I can't easily figure out what it does or how to use it.

Tag versions

I would like you to tag versions so I'll be able to create a brew formula for this project.

Thank you.

Control characters aren't supported

@tyleradams First of all, thanks for a great toolset, by far this is the best opensource converter I've found across the Internet!

Seems to be a common problem for all tools (json/yaml/xml)

$ sed -e 's/\x01/\\u0001/g' -e 's/\x02/\\u0002/g' /path/to/valid/xml/file.xml | xml-to-json | sed -e 's/\\\\u0001/\x01/g' -e 's/\\\\u0002/\x02/g'| json-to-yaml 
Traceback (most recent call last):
  File "/usr/local/bin/json-to-yaml", line 15, in <module>
    main()
  File "/usr/local/bin/json-to-yaml", line 9, in main
    data = json.load(sys.stdin)
  File "/usr/lib/python3.8/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 1 column 349 (char 348)

install: json-diff/json-empty-array: No such file or directory

Both

install json-diff /usr/local/bin

and

install json-empty-array /usr/local/bin

parts of the Makefile fail with

install: json-empty-array: No such file or directory
make: *** [install] Error 71

✗ uname -a
Darwin theDevice.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64

✗ python3 --version
Python 3.10.6

✗ jq --version
jq-1.6

✗ bash --version
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.
# (Install in zsh though)

✗ go version
zsh: command not found: go

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.