Daguan RPA in action-JSON data analysis

1. Application background

There are many places where JSON data needs to be parsed in daily development. This article mainly explains how to parse JSON data through custom scripts and visual controls of Daguan RPA.

2. Data preparation and knowledge

(1) Data preparation

The JSON data used in this article is as follows. It can be a string stored in a text file or text obtained through an http request.

{"version":"1.0.2","result":{"pages":6,"data":[{"name":"Zhang San","IDcard":"350583199201015688","address":" No. 2301, 1st Floor, Wanda Plaza, Nan'an City, Quanzhou City, Fujian Province","version":"90.11.11.110"},{"name":"李思","IDcard":"350521198807317456","address":"Fujian Province No. 1314, 2nd Floor, Zhongjun World City, Hui'an County, Quanzhou City","version":"78.11.11.110"}]}}

(2) Knowledge preparation

Because the program scripts of Daguan RPA are mainly written in Python language, the following is an introduction to how JSON data is parsed in Python. It will be used later when introducing custom scripts to process json.

1. json data processing in python

Guess you like

Origin blog.csdn.net/hongdi/article/details/132606044