json-stream

WebJar for json-stream

Лицензия

Лицензия

MIT
Категории

Категории

JSON Данные
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

json-stream
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

json-stream
WebJar for json-stream
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/mmalecki/json-stream

Скачать json-stream

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/json-stream/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>json-stream</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/json-stream/
implementation 'org.webjars.npm:json-stream:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/json-stream/
implementation ("org.webjars.npm:json-stream:1.0.0")
'org.webjars.npm:json-stream:jar:1.0.0'
<dependency org="org.webjars.npm" name="json-stream" rev="1.0.0">
  <artifact name="json-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='json-stream', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "json-stream" % "1.0.0"
[org.webjars.npm/json-stream "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

json-stream Build Status

New line-delimeted JSON parser with a stream interface.

Installation

npm install json-stream

Usage

var JSONStream = require('json-stream');

var stream = JSONStream();

stream.on('data', function (chunk) {
  console.dir(chunk);
});
stream.write('{"a":');
stream.write('42}\n');
stream.write('{"hel');
stream.write('lo": "world"}\n');

Will output:

{ a: 42 }
{ hello: 'world' }

If invalid JSON gets written, it's silently ignored.

Версии библиотеки

Версия
1.0.0