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:
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "dmed"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
Reference in New Issue
Block a user