java-to-js
Easy way to wrap java object to js object, the reverse of js-to-java
In hessian.js, when read with type we get java classname with js object, so convert it to plain js object so we can use it normally.
Install
$ npm install java-to-js
Usage
const java2js = ; let java = $class: 'xxxx' $: foo: 'bar' bar: $class: 'int' $: 3 ;;// => {foo: 'bar', bar: 3}
License
MIT