Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
update project dependencies
Browse files Browse the repository at this point in the history
- removed java 7 from travis-ci tests (doesn't work)
- updated README.md documentation
- added new file CHANGELOG.md
  • Loading branch information
sergeygrigorev authored and sergeygrigorev committed Nov 14, 2017
1 parent 70aa890 commit a0e6602
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -5,5 +5,4 @@ scala:

jdk:
- oraclejdk8
- oraclejdk9
- openjdk7
- oraclejdk9
17 changes: 17 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

Current unreleased snapshot version is 0.3.0-SHAPSHOT

## [Unreleased]
### Added
- sbt build for a project
- convert JsonObject to any Scala primitives and case classes, list, map
- unit tests used as examples

### Changed

### Removed
26 changes: 22 additions & 4 deletions README.md
@@ -1,9 +1,21 @@
# gson-object-scala-syntax

Pure and safe type-inference syntax for work
with [https://github.com/google/gson](com.google.gson.JsonObject).
Pure and safe type-inference syntax to work
with [Google Gson library](com.google.gson.JsonObject).

## Simple examples of usage.
**Notice**: library dependencies don't link google gson library and
you should be added it by yourself to your library dependencies.

[![Build Status](https://travis-ci.org/SergeyGrigorev/gson-object-scala-syntax.svg?branch=master)](https://travis-ci.org/SergeyGrigorev/gson-object-scala-syntax)

# Requirements
* sbt 1.0+
* java 8+

## Usage
Information will be available a little bit later.

## Example
```
import com.github.sergeygrigorev.helpers.instances.gson._
import com.github.sergeygrigorev.helpers.syntax.gson._
Expand Down Expand Up @@ -39,4 +51,10 @@ assert(jsonObject.getAs[CustomType2]("a") == CustomType2(1, 2))
```

You can use any of Scala case classes and they will be
automatically derived by shapeless library.
automatically derived by shapeless library.

# Licence

Copyright (c) 2017 Sergey Grigorev

Published under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

0 comments on commit a0e6602

Please sign in to comment.