{"msg":"Could not marshal [ResultVo [code=100, result=null, message=ok, exception=null, data=null]]: null; nested exception is javax.xml.bind.MarshalException\n - with linked exception:\n[com.sun.istack.SAXException2: unable to marshal type \"com.domain.ResultVo\" as an element because it is missing an @XmlRootElement annotation]","errorcode":2}
分类:
其他好文 时间:
2020-07-20 11:05:43
阅读次数:
87
public static string GetJsonValue(string jsonStr, string key) { string result = string.Empty; if (!string.IsNullOrEmpty(jsonStr)) { key = "\"" + key.T ...
分类:
Web程序 时间:
2020-07-20 10:46:46
阅读次数:
89
1.JDBC(java Data Base Connectivity)Java语言连接数据库系统JDBCj接口是一套class文件,由sun公司制定2.连接数据库驱动:各大厂商编写的JDBC接口的实现类,编译以后将这些实现类打包成jar并且发布;jar在Java.sql.*里边;3.API(Appl ...
分类:
数据库 时间:
2020-07-19 23:51:12
阅读次数:
137
一、一般委托方式 Func<int, int, int> AddMethodHander; public unName() { AddMethodHander += AddMethod; } public int AddMethod(int num1, int num2) { int result ...
需要注意的是我们可以使用两种方法来创建并使用session 方法一: sess = tf.Session() result = sess.run(...,feed_dict = {...}) sess.close() 方法二: with tf.Session as sess: result = se ...
分类:
其他好文 时间:
2020-07-19 16:22:27
阅读次数:
77
package LeetCode_1060 /** * 1060. Missing Element in Sorted Array * (Prime) * Given a sorted array A of unique numbers, find the K-th missing number s ...
分类:
其他好文 时间:
2020-07-19 00:49:27
阅读次数:
93
JAVA集合Set 交集、差集、并集 /** * Created by yuhui on 2017/7/11 0011. */ import java.util.HashSet; import java.util.Set; public class TestSet { public static v ...
分类:
编程语言 时间:
2020-07-18 22:00:28
阅读次数:
141
function paramsSeralize(obj){ if(!obj || typeof !== 'object') return obj; let res = ''; for (const key in obj) { if (obj.hasOwnProperty(key)) { res += ...
分类:
Web程序 时间:
2020-07-18 21:57:26
阅读次数:
69
编写python脚本,调试的时候需要打印json格式报文,直接打印看不出层次,可以使用json.dumps格式化打印 import json import requests def test_json(): r=requests.get('https://home.testing-studio.co ...
分类:
编程语言 时间:
2020-07-18 19:50:51
阅读次数:
71
题目 97. 交错字符串 我的思路和实现 我的思路是给s1,s2和s3各设置一个指针,用来指示当前待匹配的字符 递归思路解决: 算法应该没有逻辑问题,可是会递归+回溯时间复杂度较大,达到了2^n级别 class Solution { public: bool result; void recursi ...
分类:
其他好文 时间:
2020-07-18 13:46:58
阅读次数:
56