All Projects → lastlegion → Anytojson

lastlegion / Anytojson

Converts any data repository to JSON(or atleast strives to!). Currently converts flat-file JSON, flat-file CSV, REST JSON, REST CSV and Databases(via ODBC) to JSON 🔥.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Anytojson

Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (+1062.31%)
Mutual labels:  csv
30 Days Of Python
Learn Python for the next 30 (or so) Days.
Stars: ✭ 1,748 (+1244.62%)
Mutual labels:  csv
Winmerge
WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
Stars: ✭ 2,358 (+1713.85%)
Mutual labels:  csv
Kafka Connect Spooldir
Kafka Connect connector for reading CSV files into Kafka.
Stars: ✭ 116 (-10.77%)
Mutual labels:  csv
Django Crud Ajax Login Register Fileupload
Django Crud, Django Crud Application, Django ajax CRUD,Django Boilerplate application, Django Register, Django Login,Django fileupload, CRUD, Bootstrap, AJAX, sample App
Stars: ✭ 118 (-9.23%)
Mutual labels:  csv
Import
This is a library that provides generic functionalities for the implementation of imports. In addition to maximum performance and optimized memory consumption, Pacemaker can also be used to implement imports in distributed scenarios that place the highest demands on speed and stability.
Stars: ✭ 125 (-3.85%)
Mutual labels:  csv
Labeled Tweet Generator
Search for tweets and download the data labeled with its polarity in CSV format
Stars: ✭ 111 (-14.62%)
Mutual labels:  csv
Csvbuilder
Easily encode complex JSON objects to CSV with CsvBuilder's schema-like API
Stars: ✭ 128 (-1.54%)
Mutual labels:  csv
Rbql
🦜RBQL - Rainbow Query Language: SQL-like language for (not only) CSV file processing. Supports SQL queries with Python and JavaScript expressions
Stars: ✭ 118 (-9.23%)
Mutual labels:  csv
Couchimport
CouchDB import tool to allow data to be bulk inserted
Stars: ✭ 125 (-3.85%)
Mutual labels:  csv
Administrative Divisions Of China
中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。
Stars: ✭ 11,727 (+8920.77%)
Mutual labels:  csv
Csv Diff
Python CLI tool and library for diffing CSV and JSON files
Stars: ✭ 118 (-9.23%)
Mutual labels:  csv
Rightmove webscraper.py
Python class to scrape data from rightmove.co.uk and return listings in a pandas DataFrame object
Stars: ✭ 125 (-3.85%)
Mutual labels:  csv
React Papaparse
react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
Stars: ✭ 116 (-10.77%)
Mutual labels:  csv
Gocsv
Command-line CSV processing utility.
Stars: ✭ 126 (-3.08%)
Mutual labels:  csv
Jobfunnel
Scrape job websites into a single spreadsheet with no duplicates.
Stars: ✭ 1,528 (+1075.38%)
Mutual labels:  csv
Csvimporter
Import CSV files line by line with ease
Stars: ✭ 120 (-7.69%)
Mutual labels:  csv
Etl.net
Mass processing data with a complete ETL for .net developers
Stars: ✭ 129 (-0.77%)
Mutual labels:  csv
Rosbag to csv
Converter from ros bag to csv
Stars: ✭ 128 (-1.54%)
Mutual labels:  csv
D2 Admin
An elegant dashboard
Stars: ✭ 11,012 (+8370.77%)
Mutual labels:  csv

anyToJSON Build Status

Fetches data from anywhere(or atleast strives to) and converts it to JSON. Currently converts flat-file JSON, flat-file CSV, REST JSON, REST CSV and Databases(via ODBC) to JSON.

TOC

Examples

csv file to json

should convert csv to json.

anyToJSON.csv({path: "test/100.csv"}, function(data){
    var output = [{"a":"4","b":"9","c":"2","d":"3"}];
    var anyToJSONdata = data;
    assert.equal(JSON.stringify(anyToJSONdata), JSON.stringify(output));
    done()
});

should not break when there are commas in strings.

anyToJSON.csv({path: "test/test.csv"}, function(data){
    var output = [{"Id":"1","UserName":"Sam, Smith"},
                    {"Id":"2","UserName":"Fred Frankly"},
                    {"Id":"1","UserName":"Zachary Zupers"}];
    anyToJSONdata = data;
    assert.equal(JSON.stringify(anyToJSONdata), JSON.stringify(output));
    done();
})

loading json from a file

should load json from a file.

anyToJSON.json({path: "test/test.json"}, function(data){
                var output = [{"a":"4","b":"9","c":"2","d":"3"}];
                anyToJSONdata = data;
                assert.equal(JSON.stringify(anyToJSONdata), JSON.stringify(output));
                done()
            });

loading json from rest

should load json from rest.

server.startServer(function(){
    anyToJSON.restJSON({
        hostname: "localhost",
        port: 3000,
        path: "/json"},function(data){
            var output = [{"a":"4","b":"9","c":"2","d":"3"}];
            var anyToJSONdata = data;
            assert.equal(JSON.stringify(anyToJSONdata), JSON.stringify(output));
            done();
    })
});

loading csv from rest

should load csv from rest.

server.startServer(function(){
    anyToJSON.restCSV({
        hostname:"localhost",
        port: 3000,
        path: "/csv"}, function(data){
            anyToJSONdata = data;
            var output = [{"a":"4","b":"9","c":"2","d":"3"}]
            assert.equal(JSON.stringify(anyToJSONdata), JSON.stringify(output));
            done();
    
    })
})

Support

  • CSV flat file
  • JSON flat file
  • CSV REST API
  • JSON REST API
  • Databases (ODBC support)

Future Plans

  • Support for XML
  • Support for Streaming data
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].