mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 19:44:29 +08:00
Moves src folder to simplify build.gradle configuration. If JSON-Java source is merged, it's src fold would now be src/main/java/org.json/ instead of src/main/org.json as well.
This commit is contained in:
14
src/test/java/org/json/junit/MyJsonString.java
Normal file
14
src/test/java/org/json/junit/MyJsonString.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package org.json.junit;
|
||||
|
||||
import org.json.*;
|
||||
|
||||
/**
|
||||
* Used in testing when a JSONString is needed
|
||||
*/
|
||||
class MyJsonString implements JSONString {
|
||||
|
||||
@Override
|
||||
public String toJSONString() {
|
||||
return "my string";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user