Skip to content

Commit

Permalink
fix: org.json -> org.json.simple
Browse files Browse the repository at this point in the history
  • Loading branch information
suw0n committed Aug 13, 2024
1 parent cf61e5c commit 56af1b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package b1nd.dodam.restapi.support.scheduler;
package b1nd.dodam.restapi.support.meal;

import b1nd.dodam.domain.redis.meal.service.MealCacheService;
import lombok.RequiredArgsConstructor;
Expand Down
3 changes: 0 additions & 3 deletions dodam-in-system-available/dodam-neis-meal-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ dependencies {

implementation 'org.springframework.boot:spring-boot:3.0.4'

implementation 'org.json:json:20220320'
implementation 'org.jsoup:jsoup:1.14.2'

implementation 'com.fasterxml.jackson.core:jackson-annotations:2.14.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import b1nd.dodam.neis.meal.client.support.MealConverter;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public RedisConnectionFactory redisConnectionFactory() {
}

@Bean
public org.springframework.data.redis.cache.RedisCacheManager redisCacheManager() {
public RedisCacheManager redisCacheManager() {
RedisCacheConfiguration redisCacheConfiguration = RedisCacheConfiguration.defaultCacheConfig()
.serializeKeysWith(RedisSerializationContext.SerializationPair.fromSerializer(new StringRedisSerializer()))
.serializeValuesWith(RedisSerializationContext.SerializationPair.fromSerializer(new GenericJackson2JsonRedisSerializer()))
Expand Down

0 comments on commit 56af1b8

Please sign in to comment.