diff --git a/.gitignore b/.gitignore index d6733d7..a77d830 100644 --- a/.gitignore +++ b/.gitignore @@ -37,7 +37,6 @@ starting_files/ test-results/ public/* !public/.gitkeep -!public/index.html !public/privacy.html !public/favicon.svg !ads.txt diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 8d82fdf..0000000 --- a/public/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Python Dict to JSON Converter Online - - - - -
- -
- - -

About Python Dictionaries and JSON

- -
-

What is a Python Dictionary?

-

A Python dictionary is a built-in data structure that stores key-value pairs. It's one of Python's most useful and widely-used data types, allowing you to create mappings between related pieces of information. Dictionaries are defined using curly braces {} with key-value pairs separated by commas.

- -

Key Features of Python Dictionaries:

- - -

Learn more about Python dictionaries in the official Python documentation.

-
- -
-

What is JSON?

-

JSON (JavaScript Object Notation) is a lightweight, text-based data interchange format that's easy for humans to read and write and easy for machines to parse and generate. It's language-independent and has become one of the most popular data formats for web APIs and configuration files.

- -

Key Features of JSON:

- - -

Learn more about JSON at json.org.

-
- -
-

Converting Between Python Dictionaries and JSON

-

While Python dictionaries and JSON objects are similar, there are some key differences in syntax and data types:

- - - - - - - - - - - - - - - - - - - - - - -
PythonJSON
True/Falsetrue/false
Nonenull
Single or double quotesDouble quotes only
- -

Our converter handles these differences automatically, ensuring your Python dictionary is properly converted to valid JSON format.

-
- -
-

Common Use Cases

- -
-
- - - - - - - diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..2b5f566 --- /dev/null +++ b/src/index.html @@ -0,0 +1,97 @@ + + + + + + Python Dict to JSON Converter Online + + + + +
+ +
+ + +

About Python Dictionaries and JSON

+ +
+

What is a Python Dictionary?

+

A Python dictionary is a built-in data structure that stores key-value pairs. It's one of Python's most useful and widely-used data types, allowing you to create mappings between related pieces of information. Dictionaries are defined using curly braces {} with key-value pairs separated by commas.

+

Key Features of Python Dictionaries:

+ +

Learn more about Python dictionaries in the official Python documentation.

+
+ +
+

What is JSON?

+

JSON (JavaScript Object Notation) is a lightweight, text-based data interchange format that's easy for humans to read and write and easy for machines to parse and generate. It's language-independent and has become one of the most popular data formats for web APIs and configuration files.

+

Key Features of JSON:

+ +

Learn more about JSON at json.org.

+
+ +
+

Converting Between Python Dictionaries and JSON

+

While Python dictionaries and JSON objects are similar, there are some key differences in syntax and data types:

+ + + + + + + + + +
PythonJSON
True/Falsetrue/false
Nonenull
Single or double quotesDouble quotes only
+

Our converter handles these differences automatically, ensuring your Python dictionary is properly converted to valid JSON format.

+
+ +
+

Common Use Cases

+ +
+
+ + + + + + + diff --git a/webpack.config.js b/webpack.config.js index b9282fa..b05b0f1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,7 +27,7 @@ module.exports = { }, plugins: [ new HtmlWebpackPlugin({ - template: './public/index.html', + template: './src/index.html', }), ], devServer: {