登录
首页 » 数据结构 » dataset与json的转换

dataset与json的转换

于 2022-07-08 发布 文件大小:2.07 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

应用背景interface uses   SysUtils, Classes, DB, DBClient, superobject, ADODB, EncdDecd; function DataSetToJSON(ADataSet: TDataSet; var AJSON: WideString): Boolean; function JSONToDataSet(AJSON: WideString; ADataSet: TDataSet): Boolean; overload; function JSONToDataSet(AJSON: WideString; ADataSet: TADODataSet): Boolean; overload; function JSONToDataSet(AJSON: WideString; ADataSet: TCustomClientDataSet): Boolean; overload; implementation (*   C: 配置表     Encode 字符编码       0:ANSI 1:UNICODE 2:UTF-8       默认 1     BolbComp 二进制字段是否压缩       0:未压缩 1:已压缩       默认 0     CompMode 压缩模式       0:ZIP 1:RAR 2:7-ZIP       默认 2     BolbEncod

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2-3树的数据结构以及演示程序-2-3 tree data structure and Demonstration Program
    2022-01-26 00:29:51下载
    积分:1
  • 二叉树的建立和遍历c++语言非递归和递归实现
    二叉树的建立和遍历c++语言非递归和递归实现-The establishment and traverse binary tree c++ language implementation of non-recursive and recursive
    2023-02-18 18:35:03下载
    积分:1
  • 使用ADO的复制原型
    Data Replication Prototype Using ADO
    2022-07-22 16:45:33下载
    积分:1
  • 实例有关说明: 源:本实例使用的源在本章实例MyOdbcSmpl目录中,源为ACCESS源, 文件为Mydb.mdb。请根本章2.4.1...
    实例有关说明: 数据源:本实例使用的数据源在本章实例MyOdbcSmpl目录中,数据源为ACCESS数据源,数 据文件为Mydb.mdb。请根据本章2.4.1创建ODBC数据源中所指示的ODBC数据源管 理器(ODBC32.exe)来创建和配置数据源MyDB(也可以命名为其他名称)。 执行结果:本章实例的执行结果MyOdbcSmpl目录中的可执行文件MyOdbcSmpl.exe。在数据 源中选择刚配置的MyDB,在数据表或视图中选择要查询的表或视图,选择查询的 列,如果有查询条件,请在查询条件中输入,最后确定是否输出显示查询结果, 缺省为显示,单击“执行”按钮,执行查询并显示查询结果,在SQL语句框中显 示执行的查询。-Note : Data Source : The data used by the examples in this chapter source directory MyOdbcSmpl example, ACCESS data source for data sources, data files for Mydb.mdb. Requests under this chapter 2.4.1 create ODBC data source as directed by the ODBC Data Source Manager (ODBC32.exe) to create and configure data sources MyDB (also named other names). Outcome : examples of this chapter MyOdbcSmpl results of the implementation of the directory MyOdbcSmpl.exe executable files. The data sources to choose just the MyDB configuration, the data in Table View or choose to check the table or view, the choice for the series, if there are inquiries conditions, the conditions for the imp
    2022-11-01 23:00:03下载
    积分:1
  • //Carry out principal component of the Gaussian elimination method// function: s...
    // 带有列主元的高斯消元法 // 功能: 求解线性方程组 Ax = b // 参数: A - 指向n*n系数矩阵的指针 //     b - 常数向量的指针 //     n - 方程组的维数 // 返回值:0 - 如果成功。线性方程组的解保存在 b 中 //     1 - 求解失败-//Carry out principal component of the Gaussian elimination method// function: solving linear equations Ax = b// parameters: A- point n* n coefficient matrix of the pointer// b- constant vector pointer// n- Equations dimension// return value: 0- if successful. Linear equations the solution stored in the b in// 1- Solving the failure of
    2023-05-30 23:15:02下载
    积分:1
  • 没什么特别的 用ASSECC库~――~
    没什么特别的 用ASSECC数据库~――~-Nothing special with ASSECC database ~- ~
    2023-02-03 00:00:04下载
    积分:1
  • 一个同学的毕业设计
    一个同学的毕业设计-a student at the graduate design
    2022-02-25 17:06:49下载
    积分:1
  • 把老师给的PPT,上传了。 是说
    把老师给的PPT,上传了。 是说数据结构。-The teacher to the PPT, uploaded. Is that data structure.
    2022-04-19 08:46:19下载
    积分:1
  • 直流电机辨识
    如何获得传递函数为你的直流电机,这个文件只是帮助你得到它。首先,我们可以得到具有对应值的数据。那么数据将在MATLAB处理与ARX结构得到传递函数模型为您的直流电机。然后从传送功能,您可以控制与调节器的直流电动机,你知道之前,这样的PID。在这种情况下,我会分享给大家我如何控制我的直流电机P和PI控制器。
    2022-02-15 08:54:12下载
    积分:1
  • 最小生成树,使用PRIM方法生成最小生成树。
    最小生成树,使用PRIM方法生成最小生成树。-Minimum Spanning Tree, use the PRIM method to generate minimum spanning tree.
    2022-07-11 22:21:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载