Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
cloud-phantom
/
common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
67d75f09
authored
Nov 21, 2017
by
KingBoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初步完成异常体系设计
parent
49e014c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/main/java/com/kingboy/common/utils/json/JsonUtils.java
+9
-0
No files found.
src/main/java/com/kingboy/common/utils/json/JsonUtils.java
View file @
67d75f09
...
...
@@ -29,6 +29,15 @@ public final class JsonUtils {
}
/**
* 对象转换为json
* @param object
* @return
*/
public
static
String
beanToJson
(
Object
object
)
{
return
JSON
.
toJSONString
(
object
);
}
/**
* 对象转换为json,可以带上date的格式化
* @param object
* @return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment