FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JSON-java/RawJSON.java at master · MinoCloud/JSON-java · GitHub
MinoCloud
/
JSON-java
Public
forked from
stleary/JSON-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
JSON-java
/
RawJSON.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (25 loc) · 577 Bytes
Breadcrumbs
JSON-java
/
RawJSON.java
Copy path
File metadata and controls
31 lines (25 loc) · 577 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package
org
.
json
;
/**
* Used to hold a known valid JSON string in a JSON structure
* without the overhead of parsing it first.
* @author Marcus Longmuir
* @version 2013-03-01
*/
public
class
RawJSON
{
String
rawJSON
=
null
;
public
RawJSON
(
String
string
){
this
.
rawJSON
=
string
;
}
public
void
setString
(
String
toSet
){
this
.
rawJSON
=
toSet
;
}
public
void
useContentFrom
(
RawJSON
other
){
this
.
rawJSON
=
other
.
rawJSON
;
}
public
void
cloneJSONObject
(
JSONObject
obj
){
this
.
rawJSON
=
obj
.
toString
();
}
public
String
toString
(){
return
this
.
rawJSON
;
}
}
Back
|
FazBrowse Home
|
New Git URL