feat: add Pessoa struct and file processing for RPPSS records

- Implemented Pessoa struct with fields for CPF, name, and value.
- Added functionality to read and parse a specific file format, skipping the first four lines.
- Converted parsed records into JSON format and saved to output.json.
- Included example search functionality for a specific CPF.
This commit is contained in:
FelipeCN
2026-01-30 09:07:06 -03:00
commit 5148ad89ff
6 changed files with 2231 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "dmed"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"