jsonparser

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package json implements a URL extractor for JSON files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser implements parser.FileParser for JSON files.

func New

func New() *Parser

New creates a new JSON parser.

func (*Parser) Extensions

func (*Parser) Extensions() []string

Extensions returns the file extensions this parser handles.

func (*Parser) ValidateAndParse

func (*Parser) ValidateAndParse(filename string, content []byte) ([]parser.Link, error)

ValidateAndParse validates the content and extracts links in a single pass.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL