如何在VB.NET中使用json URL参数验证进行验证 [英] How to validate using json URL parameter validate in VB.NET

查看:123
本文介绍了如何在VB.NET中使用json URL参数验证进行验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在我的应用程序中验证所有urls参数(模式验证)。

如何做到这一点,请指导我,如果您有任何想法,请与我分享。

这对我很有帮助。

谢谢,

Manuel。



我的尝试:



Hi,

I would like to validate all urls parameter(pattern validation) in my application.
How to do this, kindly guide me, If you have any idea , please share with me.
It will very helpful for me.
Thanks,
Manuel.

What I have tried:

{
  "$id": "http://example.com/blah/root.json",
  "definitions": {
    "A": {
      "$id": "#foo"
    },
    "B": {
      "$id": "other.json",
      "definitions": {
        "X": {
          "$id": "#bar"
        },
        "Y": {
          "$id": "t/inner.json"
        }
      }
    },
    "C": {
      "$ref": "http://example.com/blah/other.json"
    }
  },
  "properties":{
    "a": { "$ref": "#/definitions/C" }
  }
}  

推荐答案

id:http://example.com/blah/root.j儿子,
定义:{
A:{
id": "http://example.com/blah/root.json", "definitions": { "A": { "


id:#foo
},
B:{
id": "#foo" }, "B": { "


id:other.json,
definitions:{
X :{
id": "other.json", "definitions": { "X": { "


这篇关于如何在VB.NET中使用json URL参数验证进行验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆