json-buffer

WebJar for json-buffer

License

License

MIT
Categories

Categories

JSON Data
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

json-buffer
Last Version

Last Version

3.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

json-buffer
WebJar for json-buffer
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/dominictarr/json-buffer

Download json-buffer

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

json-buffer

JSON functions that can convert buffers!

build status

testling badge

JSON mangles buffers by converting to an array... which isn't helpful. json-buffers converts to base64 instead, and deconverts base64 to a buffer.

var JSONB = require('json-buffer')
var Buffer = require('buffer').Buffer

var str = JSONB.stringify(Buffer.from('hello there!'))

console.log(JSONB.parse(str)) //GET a BUFFER back

License

MIT

Versions

Version
3.0.1
3.0.0