Fast JSON source code analysis -- deserialization

2021SC@SDUSC This article is sent synchronously in the personal blog, and the address is Redbit's personal journey outline Last Fast JSON source code analysis -- deserialization (6) The two parsearray APIs of fastjson are deeply compared, and the API design and internal logic architecture are analyzed through similarities and differ ...

Posted by weneedmoregold on Sun, 05 Dec 2021 19:22:58 -0800

Aggregation operation of MongoDB learning

Basic operation of MongoDB learningThe aggregation operation of mongo is similar to the query of mysqlSQL operations / functionsmongodb aggregation operationwhere$matchgroup by$grouphaving$matchselect$projectorder by$sortlimit$limitsum()$sumcount()$sumjoin$lookupThe following examples are compared with sqlThe following is a basic structure for ...

Posted by asfaw on Mon, 29 Nov 2021 17:44:57 -0800

Newtonsoft.Json advanced usage

Mobile applications pay attention to fast speed and good experience. There is a performance problem with the server interface of a project at hand, which needs to be optimized. In many modifications of the interface, the entity adds many fields for intermediate calculation or storage, and finally serializes the returned data with Newtonsoft.Jso ...

Posted by chrislive on Mon, 29 Nov 2021 05:27:47 -0800

[RRQMSocket.RPC] C# advanced usage settings of RRQMRPC based on TCP protocol

1, Preface Notes to this section Before learning this section, you must be familiar with the creation of TcpRpcParser parser and TcpRpcClient client (or its derived classes, such as file transfer) in RRQM. If you are not familiar with it, please understand it in the following links. [RRQMSocket.RPC] C# create an RPC that supports ref a ...

Posted by nextman on Thu, 25 Nov 2021 22:42:20 -0800

Balanced match source code analysis

Balanced match source code analysis text 0. Basic information 0.1 Usage The goal of the balanced match library is very simple: match the first pair of strings that meet the conditions, and disassemble them into three parts: front, middle and back 0.2 Version: v2.0.0 This library is relatively stable, and there is nothing to change Th ...

Posted by mikebr on Tue, 16 Nov 2021 00:22:34 -0800

Encyclopedia of commonly used data file storage formats in Python (latest / latest version in 2021)

Preface: there are various ways to save data. The simplest way is to directly save it as a text file, such as TXT, JSON, CSV, etc. in addition, Excel is also a popular storage format. Through this article, you will master how to operate Excel through some third-party libraries (xlrd/xlwt/pandas/openpyxl) to store and read data. This article is ...

Posted by CBR on Sun, 07 Nov 2021 12:13:55 -0800

Crazy God said smbms project (complete)

catalogue resmbms Technical highlights Preparation for project construction Implementation of login function Login function optimization Implementation of login and logout function Login interception optimization Password modification Optimize password modification using AJAX User management implementation 1. Get the number of users ...

Posted by sayoko on Tue, 02 Nov 2021 19:20:47 -0700

json parsing C + + library nlohmann / json

Project address: nlohmann_json_cmake_fetchcontent/json.hpp at master · ArthurSonzogni/nlohmann_json_cmake_fetchcontent · GitHub design goal Intuitive syntax. In like Python In such a language, JSON is like a first-class data type. We used all the magic of modern C + + operators to achieve the same feeling in your code. Look at the fol ...

Posted by David03 on Mon, 01 Nov 2021 17:18:58 -0700

Introduction to axios and notes on source code analysis

1, JSON server Official website document address JSON server document Install JSON server npm install -g json-server Create a database JSON file under the target root directory: db.json { "posts": [ { "id": 1, "title": "json-server", "author": "typicode" } ], "comments": [ { "id": 1, "body": "some comment", "pos ...

Posted by Fearsoldier on Thu, 28 Oct 2021 19:38:53 -0700

Fast JSON source code analysis - deserialization special

2021SC@SDUSC This article is sent synchronously in the personal blog, and the address is Fast JSON source code analysis - deserialization special (I) outline Part I Fast JSON source code analysis -- deserialization (3) This paper describes in detail how fastjson creates a deserialization instance without a deserialization instance c ...

Posted by jd57 on Wed, 27 Oct 2021 04:04:29 -0700