Comments (1)
Thanks, must be a regression in the way I handle json. I'll add a test.
Also I haven't yet added a streaming json parser. I think my last two candidates are JSONStream and oboe.js
Sent from my iPhone
On Nov 18, 2013, at 5:02 AM, Kenan Sulayman [email protected] wrote:
apex:xx ks$ dat init Initialized dat store at /private/tmp/xx/.dat apex:xx ks$ echo '{"hello": "world"}' | dat --json {"_rev":"1-183575eea1905ee592773f88f96f04a2","_id":"2013-11-18T13:01:10.707Z-77dd86b9"} apex:xx ks$ echo '{"hello": "world"}' | dat --json /usr/local/lib/node_modules/dat/lib/commands.js:434 var key = primaryKeys[i].toString() ^ TypeError: Cannot call method 'toString' of undefined at checkRows (/usr/local/lib/node_modules/dat/lib/commands.js:434:32) at Stream.onWrite (/usr/local/lib/node_modules/dat/lib/commands.js:468:7) at Stream.stream.write (/usr/local/lib/node_modules/dat/node_modules/through/index.js:26:11) at Stream.ondata (stream.js:51:26) at Stream.EventEmitter.emit (events.js:95:17) at drain (/usr/local/lib/node_modules/dat/node_modules/through/index.js:36:16) at Stream.stream.queue.stream.push (/usr/local/lib/node_modules/dat/node_modules/through/index.js:45:5) at Stream.batch (/usr/local/lib/node_modules/dat/node_modules/byte-stream/index.js:33:23) at Stream.stream.write (/usr/local/lib/node_modules/dat/node_modules/through/index.js:26:11) at Stream.ondata (stream.js:51:26)
—
Reply to this email directly or view it on GitHub.
from dat.
Related Issues (20)
- Weekly Digest (5 January, 2020 - 12 January, 2020) HOT 1
- Weekly Digest (12 January, 2020 - 19 January, 2020)
- Weekly Digest (19 January, 2020 - 26 January, 2020)
- An in-range update of request is breaking the build 🚨 HOT 1
- dat doctor crashes when running inside docker container HOT 5
- dat share until a threshold of peers have an up to date version
- request is deprecated HOT 4
- Module missing from dat 14.0.0 Linux binary HOT 3
- Link to Dat Desktop in README.md is incorrect. HOT 3
- Error: Could not satisfy length
- Cannot publish a dat, doctor command is missing, any ports should I forward to me? HOT 6
- dat is ignoring all files in folder? HOT 23
- Looking for maintainers HOT 6
- How could Dat protocol be suitable for blockchain or transactional ledger
- dat-14.0.2-win-x64 is not starting HOT 1
- dat not sharing files other than dat.json HOT 18
- dat not connecting on any machine or network
- Install error with dat using npm on MacBook Pro (Intel version)
- Cannot connect to Dat network HOT 3
- Using dat as a background process 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 dat.