CRAN

json64 0.1.3

A 'Base64' Encode/Decode Package with Support for JSON Output/Input and UTF-8

Released Jun 3, 2019 by Mauricio Santelices

This package can be loaded by Renjin but 1 out 2 tests failed.

Dependencies

jsonlite 1.6

Encode/Decode 'base64', with support for JSON format, using two functions: j_encode() and j_decode(). 'Base64' is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation, used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data, ensuring that the data will remain intact and without modification during transport. On the other side, JSON (JavaScript Object Notation) is a lightweight data-interchange format. Easy to read, write, parse and generate. It is based on a subset of the JavaScript Programming Language. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. JSON structure is built around name:value pairs and ordered list of values. The first function, j_encode(), let you transform a data.frame or list to a 'base64' encoded JSON (or JSON string). The j_decode() function takes a 'base64' string (could be an encoded JSON) and transform it to a data.frame (or list, depending of the JSON structure).

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>json64</artifactId>
    <version>0.1.3-b1</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:json64')

Test Results

This package was last tested against Renjin 0.9.2726 on Jul 13, 2019.

Source

R

View GitHub Mirror

Release History