Skip to content

Commit 9b626e2

Browse files
authored
readme.md 수정 및 FileToObject.java 버그 수정 (#61)
docs : readme.md 수정 bug : FileToObject.java 버그 수정
1 parent b44fe09 commit 9b626e2

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# HotSource
2-
오픈소스 [json-simple](https://github.com/fangyidong/json-simple)라이브러리를 더 사용하기 쉽도록 경량화한 버전입니다.<br/>
2+
오픈소스 [json-simple](https://github.com/fangyidong/json-simple)라이브러리를 사용하여 Java Object 쉽도록 경량화한 버전입니다.<br/>
33
코드분석에 어려움을 느낀다면 [여기를 클릭](https://github.com/innohack2021/HotSource/tree/main/GUIDELINE) 해 가이드라인을 통한 학습을 하시길 바랍니다.
44
<br/><br/>
55

6+
## API docs
7+
[API docs](https://innohack2021.github.io/HotSource/)
8+
<br/><br/>
9+
610
## 기능
711
HotSource는 다음과 같은 코드의 간편화를 제공합니다.<br/>
812
예제 코드의 클래스는 HotSource의 [테스트 코드](https://github.com/innohack2021/HotSource/tree/main/src/test/java/com/innohotsource/hotjson/Json)기반으로 작성되었습니다.
@@ -50,7 +54,6 @@ json.put("subSample", list);
5054
```java
5155
JSONObject json = ObjectToJson.toJson(testSample);
5256
```
53-
.
5457
<br/>
5558

5659
#### 그 외 etc 기능
@@ -80,7 +83,10 @@ repositories {
8083
}
8184
8285
dependencies {
83-
implementation 'com.github.innohack2021:HotSource:1.0'
86+
implementation 'com.github.innohack2021:HotSource:1.1'
87+
88+
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
89+
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
8490
}
8591
```
8692
<br/><br/>

src/main/java/com/innohotsource/hotjson/Json/FileToObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class FileToObject {
2222
* setting path
2323
* @param pwd file path
2424
*/
25-
FileToObject(String pwd){
25+
public FileToObject(String pwd){
2626
this.pwd = pwd;
2727
}
2828

0 commit comments

Comments
 (0)