Skip to content
  • This project
    • Loading...
  • Sign in

向汉 / uc-consumer

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • member-engine
  • ..
  • util
  • JSONUtil.java
  • xianghan@topdraw.cn's avatar
    init project · 98e6049d
    98e6049d Browse Files
    xianghan@topdraw.cn authored 2021-11-10 09:46:48 +0800
JSONUtil.java 240 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
package com.topdraw.util;

import com.alibaba.fastjson.JSON;

public class JSONUtil<T> {

    public static <T> T parseMsg2Object(String content , Class<T> clazz) {
        T t = JSON.parseObject(content, clazz);
        return t;
    }

}