-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Rakibul Hasan edited this page Jun 24, 2025
·
1 revision
- Password File: %APPDATA%\cocoon-password-manager\passwords.json
Convert the password data from my Excel file into a structured JSON format suitable for a password manager application.
Generate a JSON object with the following structure:
- Root object containing an "entries" array and a "next_id" field
- Each entry should have: id, title, username, password, url, notes, created_at
- Use incremental IDs starting from 1
- Set created_at to current timestamp in ISO 8601 format with timezone
- Set url and notes to null if not provided in the source data
My Excel file contains password information in key-value pairs with columns like:
- Service/Title
- Username/Email
- Password
- URL (optional)
- Notes (optional)
{
"entries": [
{
"id": 1,
"title": "service_name",
"username": "username_or_email",
"password": "actual_password",
"url": "https://example.com" or null,
"notes": "any_notes" or null,
"created_at": "2025-06-24T10:30:00.000000000+00:00"
}
],
"next_id": 2
}- Read through all the password entries in my Excel data
- Convert each row into the JSON entry format above
- Auto-increment the ID for each entry
- Use the current date/time for created_at timestamps
- Set next_id to be one higher than the last entry ID
- Preserve all original passwords exactly as they appear
- If title is empty or missing, use the username value as the title
- If other fields are empty or missing, set them to null
Please process my Excel data and return the complete JSON structure.