json-transformer

WebJar for json-transformer

License

License

MIT
Categories

Categories

JSON Data ORM
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

json-transformer
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

json-transformer
WebJar for json-transformer
Project URL

Project URL

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

Source Code Management

https://github.com/dandean/json-transformer

Download json-transformer

How to add to project

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

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-transformer

Build Status

Functions for transforming JSON string formatting

There are currently two functions in this module:

camelToUnderscore(json) ⟶ String

Takes json, a stringified Object, converts all camelCase keys to underscore_case.

underscoreToCamel(json) ⟶ String

Takes json, a stringified Object, converts all underscore_case keys to camelCase.

License

(The MIT License)

Copyright (c) 2012 Dan Dean [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Versions

Version
1.0.0