Skip to content

Commit b87a86f

Browse files
committed
serialize Java 8 LocaleDate with Jackson in Spring Boot
1 parent 815feae commit b87a86f

File tree

16 files changed

+915
-0
lines changed

16 files changed

+915
-0
lines changed
48.3 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.9.RELEASE")
7+
}
8+
}
9+
10+
apply plugin: 'java'
11+
apply plugin: 'eclipse'
12+
apply plugin: 'idea'
13+
apply plugin: 'org.springframework.boot'
14+
15+
jar {
16+
baseName = 'gs-rest-service'
17+
version = '0.1.0'
18+
}
19+
20+
repositories {
21+
mavenCentral()
22+
}
23+
24+
sourceCompatibility = 1.8
25+
targetCompatibility = 1.8
26+
27+
dependencies {
28+
compile("org.springframework.boot:spring-boot-starter-web")
29+
testCompile('org.springframework.boot:spring-boot-starter-test')
30+
testCompile('com.jayway.jsonpath:json-path')
31+
}
32+
52.4 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Mon Aug 29 13:08:10 CDT 2016
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip

springboot-jackson-java8date/gradlew

Lines changed: 160 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springboot-jackson-java8date/gradlew.bat

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
applications:
3+
- name: gs-rest-service
4+
memory: 256M
5+
instances: 1
6+
host: rest-service
7+
domain: guides.spring.io
8+
path: build/libs/gs-rest-service-0.1.0.jar

0 commit comments

Comments
 (0)