Leer archivo JSON usando JavaScript

Leer archivo JSON usando JavaScript

JSON significa Notación de objetos JavaScript . Es una forma de organizar datos en un archivo de script utilizando texto, lo que facilita almacenar y compartir datos.

Lectura JSON Los archivos, ya sea que estén almacenados localmente o en un servidor, son cruciales para las aplicaciones web. En este tutorial, cubriremos tres métodos para leer archivos JSON en JavaScript, que pueden resultar realmente útiles para los desarrolladores web.

Tabla de contenidos

NOTA: JavaScript admite JSON internamente, por lo que no requiere módulos adicionales para importar y mostrar JSON. Solo tenemos que importar el archivo JSON y podemos usarlo fácilmente y directamente para realizar manipulaciones en él.

¿Cómo leer un archivo JSON en JavaScript?

Tres métodos para leer archivos JSON en JavaScript son:

Nota: El siguiente archivo JSON se utilizará para recuperar los datos.

muestra.json

{ 'users':[ { 'site':'techcodeview.com', 'user': 'Shobhit' } ] } 

1. Uso de la API fetch() para leer archivos JSON

El método fetch() se utiliza para leer archivos JSON (archivos locales o cargados). Utiliza la misma sintaxis para ambos tipos de archivos.

Sintaxis

fetch('JSONFilePath').then().then().catch(); 

Siga estos pasos para leer el archivo JSON utilizando el método de recuperación de API:

  • Cree un archivo JSON y agréguele datos
  • Abra el archivo JavaScript
  • En el método de recuperación, pase la ruta del archivo JSON.
  • Utilice el método .json() para analizar los datos en formato JSON.
  • Muestra el contenido en la consola.

Ejemplo de lectura de un archivo JSON en JavaScript:

El siguiente código le ayudará a comprender el uso del método fetch() para leer archivos JSON.

HTML
          Leer título de archivo JSON> encabezado> <body>  <h1>Portaltecnico.proh1> <h3>¡Vaya a la consola para ver los datos obtenidos! h3> <script>function fetchJSONData() { fetch('./sample.json') .then((res) => { if (!res.ok) { throw new Error (`¡Error HTTP! Estado: ${res.status} `); } return res.json(); }) .then((data) => console.log(data)) .catch((error) => console.error('No se pueden recuperar datos:', error));  } recuperarJSONData();  secuencia de comandos> cuerpo> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Producción: </strong>  </b>  </p>  <p dir='ltr'> <img src='//techcodeview.com/img/javascript-questions/49/read-json-file-using-javascript.webp' alt='vista de consola de datos JSON después de recuperar la API'> </p>  <h2 id='using-the-require-module-to-read-json-file'>  <b>  <strong>2. Uso del módulo Requerir para leer el archivo JSON </strong>  </b>  </h2> <p dir='ltr'>  <span>Requerir módulo </span>  <span>se utiliza para incluir módulos en su aplicación. Se puede utilizar para incluir un archivo en una aplicación web. </span> </p>  <h3> <span>Sintaxis: </span> </h3> <pre>require(JSONFilePath); </pre> <p dir='ltr'> <span>Siga estos pasos para leer archivos JSON usando el módulo requerido en JavaScript. </span> </p>  <ul> <li value='1'> <span>Cree el archivo JSON como se especifica en el método anterior. </span> </li> <li value='2'> <span>Cree un script.js y use el método requerido del nodo para importar el archivo JSON </span> </li> <li value='3'> <span>Imprime los datos en la consola. </span> </li> </ul> <p dir='ltr'>  <b>  <strong>NOTA: </strong>  </b>  <span>En lugar de ejecutar el programa en el navegador, lo ejecutaremos en la consola usando Node. Asegúrese de tener al menos la versión 17.0 de Node. </span> </p>  <h3>  <b>  <strong>Ejemplo </strong>  </b>  </h3> <p dir='ltr'> <span>El siguiente código se puede pegar directamente en un archivo de script (el nodo debe estar instalado) para ejecutar y recuperar los datos JSON. </span> </p>JavaScript <code>  <pre>const sample = require('./sample.json'); console.log(sample); </pre>  </code>  <p dir='ltr'>  <b>  <strong>Producción: </strong>  </b>  </p>  <pre>{ users: [ { site: 'GeeksForGeeks', user: 'Shobhit' } ] } </pre> <h2 id='by-importing-the-module-to-read-json-file'>  <b>  <strong>3. Importando el módulo para leer el archivo JSON </strong>  </b>  </h2> <p dir='ltr'> <span>El </span>  <span>declaración de importación </span>  <span>se puede utilizar para importar y almacenar elementos de archivos JSON en una variable en JavaScript. </span> </p>  <h3> <span>Sintaxis: </span> </h3> <pre>import nameOfVariable from 'JSONFilePath' assert {type: 'json'}; </pre> <ul> <li value='1'> <span>Cree el archivo JSON como se describe en los ejemplos anteriores. </span> </li> <li value='2'> <span>Cree un archivo script.js e importe el archivo JSON </span> </li> </ul> <h3>  <b>  <strong>Ejemplo de lectura de un archivo JSON en JavaScript: </strong>  </b>  </h3> <p dir='ltr'> <span>El siguiente código lee el archivo JSON importándolo mediante la declaración de importación. </span> </p>HTML <code>  <pre>   <html lang='en'>  <head>  <meta charset='UTF-8'>  <meta name='viewport' content= 'width=device-width, initial-scale=1.0'>  <title>Leer título de archivo JSON> encabezado> <body>  <h1>Portaltecnico.proh1> <h3>¡Vaya a la consola para ver los datos obtenidos! h3> <script type='module' src='./script.js'>secuencia de comandos> cuerpo> html> </pre>  </code>JavaScript <code>  <pre>// script.js import user from './sample.json' assert { type: 'json' }; console.log(user) </pre>  </code>  <p dir='ltr'>  <b>  <strong>Producción: </strong>  </b>  </p>  <p dir='ltr'> <img src='//techcodeview.com/img/javascript-questions/49/read-json-file-using-javascript.webp' alt='vista de consola de datos JSON usando el módulo de importación'> </p>  <h2 id='conclusion'> <span>Conclusión </span> </h2> <p dir='ltr'> <span>Leer archivos JSON en JavaScript es una tarea muy importante para un desarrollador web, ya que los archivos JSON se utilizan para almacenar datos de usuario, datos de configuración, datos estáticos y otra información vital. </span> </p>  <p dir='ltr'> <span>Esta guía explica tres métodos para leer archivos JSON en JavaScript con ejemplos. Al comprender estas técnicas, los desarrolladores pueden abordar con confianza tareas relacionadas con archivos JSON, lo que garantiza procesos de desarrollo más fluidos y experiencias de usuario mejoradas. </span> </p>  <br>  <br>
                     </div>

                     <!-- Article Footer with Prominent Share Buttons -->
                     <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50">
                          <div class="flex flex-col sm:flex-row items-center justify-between gap-6">
                              <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2">
                                 <i class="fa fa-share-alt text-tech-500"> </i>
                                Compartir                              </h4>
                             
                              <div class="flex flex-wrap justify-center gap-3">
                                 <!-- Twitter -->
                                 <a href="https://twitter.com/intent/tweet?text=Leer archivo JSON usando JavaScript&url=https://www.techcodeview.com/es/read-json-file-using-javascript" 
                                   target="_blank" rel="noopener noreferrer" 
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-twitter text-lg"> </i>
                                     <span class="hidden sm:inline">Twitter </span>
                                 </a>

                                 <!-- Facebook -->
                                 <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/es/read-json-file-using-javascript" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-facebook text-lg"> </i>
                                     <span class="hidden sm:inline">Facebook </span>
                                 </a>
                                
                                 <!-- LinkedIn -->
                                 <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/es/read-json-file-using-javascript&title=Leer archivo JSON usando JavaScript" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-linkedin text-lg"> </i>
                                     <span class="hidden sm:inline">LinkedIn </span>
                                 </a>
                              </div>
                          </div>
                     </div>
                </article>

                <!-- Comments Placeholder / Random Articles -->
                <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm">
                     <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2">
                        Te Puede Gustar                     </h3>
                     <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                         <div class="group">
                              <a href="/es/explained-what-is-meowchat-24258" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/get-informed/37/explained-what-is-meowchat.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Explicado – ¿Qué es MeowChat?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/es/explained-what-is-meowchat-24258">Explicado – ¿Qué es MeowChat? </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/es/what-is-apache" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/blog/04/what-is-apache.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="¿Qué es Apache?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/es/what-is-apache">¿Qué es Apache? </a>
                              </h4>
                         </div>
                     </div>
                </div>
             </div>

             <!-- SECONDARY COLUMN (SIDEBAR) -->
             <!-- Aside Column -->
 <div class="lg:col-span-4 space-y-8">
	
	 <!-- Best Articles Widget -->
	 <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm">
		 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center">
                 <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span>
                Artículos Más Populares             </h2>
		 </div>
		
		 <!-- Owl Carousel Preserved Container -->
		 <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav">
			 <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/java-while-loop-with-examples">
						 <img src="https://techcodeview.com/img/it-problems-solutions/43/java-while-loop-with-examples.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Bucle while de Java con ejemplos" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/java-while-loop-with-examples" class="hover:text-tech-500 transition-colors line-clamp-3">Bucle while de Java con ejemplos </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/python-turtle-programming">
						 <img src="https://techcodeview.com/img/python-turtle-programming/99/python-turtle-programming.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Programación de tortugas Python" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/python-turtle-programming" class="hover:text-tech-500 transition-colors line-clamp-3">Programación de tortugas Python </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/difference-between-final">
						 <img src="https://techcodeview.com/img/exception-handling/77/difference-between-final.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Diferencia entre final, finalmente y finalizar" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/difference-between-final" class="hover:text-tech-500 transition-colors line-clamp-3">Diferencia entre final, finalmente y finalizar </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/installation-r">
						 <img src="https://techcodeview.com/img/r-tutorial/35/installation-r.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Instalación de R" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/installation-r" class="hover:text-tech-500 transition-colors line-clamp-3">Instalación de R </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/7-code-refactoring-techniques-software-engineering">
						 <img src="https://techcodeview.com/img/it-problems-solutions/63/7-code-refactoring-techniques-software-engineering.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="7 técnicas de refactorización de código en ingeniería de software" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/7-code-refactoring-techniques-software-engineering" class="hover:text-tech-500 transition-colors line-clamp-3">7 técnicas de refactorización de código en ingeniería de software </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/what-is-full-form-ymca">
						 <img src="https://techcodeview.com/img/category/16/what-is-full-form-ymca.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="¿Cuál es la forma completa de YMCA?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/what-is-full-form-ymca" class="hover:text-tech-500 transition-colors line-clamp-3">¿Cuál es la forma completa de YMCA? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/filenotfoundexception-java">
						 <img src="https://techcodeview.com/img/java-tutorial/70/filenotfoundexception-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="FileNotFoundException en Java" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/filenotfoundexception-java" class="hover:text-tech-500 transition-colors line-clamp-3">FileNotFoundException en Java </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/how-write-good-consult-note-1311228">
						 <img src="https://techcodeview.com/img/blog/32/how-write-good-consult-note.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cómo escribir una buena nota de consulta: consejos y plantilla" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/how-write-good-consult-note-1311228" class="hover:text-tech-500 transition-colors line-clamp-3">Cómo escribir una buena nota de consulta: consejos y plantilla </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/how-convert-python-dictionary-json">
						 <img src="https://techcodeview.com/img/picked/26/how-convert-python-dictionary-json.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="¿Cómo convertir el diccionario Python a JSON?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/how-convert-python-dictionary-json" class="hover:text-tech-500 transition-colors line-clamp-3">¿Cómo convertir el diccionario Python a JSON? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/es/k-means-clustering-introduction">
						 <img src="https://techcodeview.com/img/ai-ml-ds-with-python/38/k-means-clustering-introduction.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="K significa agrupación – Introducción" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/es/k-means-clustering-introduction" class="hover:text-tech-500 transition-colors line-clamp-3">K significa agrupación – Introducción </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE -->
		 </div>
		

         <!-- Categories -->
		 <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Categoría </h2>
		 </div>
		 <div class="flex flex-wrap gap-2">
             <a href="/es/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Blog
             </a> <a href="/es/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Conversión De Java
             </a> <a href="/es/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Matemáticas
             </a> <a href="/es/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Colecciones Java
             </a> <a href="/es/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Diferencias
             </a> <a href="/es/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Cadena De Java
             </a>
         </div>

         <!-- Interesting Articles Widget -->
		 <div class="mt-8">
			 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
				 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Artículos De Interés </h2>
			 </div>
			
			 <div id="owl-carousel-4" class="owl-carousel owl-theme">
				 <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/42/how-many-people-get-34.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="¿Cuántas personas obtienen un 34, 35, 36 en el ACT? Desglose de puntuación" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/blog/">Blog </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/how-many-people-get-34-131858">¿Cuántas personas obtienen un 34, 35, 36 en el ACT? Desglose de puntuación </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-tutorial/56/java-operator-precedence.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Precedencia del operador Java" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/java-tutorial/">Tutorial De Java </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/java-operator-precedence">Precedencia del operador Java </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/ds-tutorial/93/counting-sort-algorithm.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Algoritmo de clasificación de conteo" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/ds-tutorial/">Tutorial Ds </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/counting-sort-algorithm">Algoritmo de clasificación de conteo </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/mysql-tutorial/61/mysql-regexp_like-function.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Función MySQL REGEXP_LIKE()" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/mysql-tutorial/">Tutorial De Mysql </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/mysql-regexp_like-function">Función MySQL REGEXP_LIKE() </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/computer/68/blu-ray-vs-dvd-difference-between-blu-ray.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Blu-ray frente a DVD | Diferencia entre Blu-ray y DVD" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/computer/">Computadora </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/blu-ray-vs-dvd-difference-between-blu-ray">Blu-ray frente a DVD | Diferencia entre Blu-ray y DVD </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/gblog-2024/41/what-is-web-scraping.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="¿Qué es el Web Scraping y cómo utilizarlo?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/es/gblog-2024-cat/">Gblog 2024 </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/es/what-is-web-scraping">¿Qué es el Web Scraping y cómo utilizarlo? </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE -->
			 </div>
		 </div>
	 </div>
 </div>
 <!-- /Aside Column -->         </div>
        </div>
     </div>

 <footer class="site-footer">
         <div class="container">
             <span class="footer-links">
                Copyright ©2026 Todos Los Derechos Reservados | 
                 <a href="//www.techcodeview.com/ko/">techcodeview.com </a> | 
                 <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Descargo De Responsabilidad </a> | 
                 <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">Acerca De Nosotros </a> | 
                 <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Política De Privacidad </a> 
             </span>
         </div>
     </footer>
 
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script>
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script>    
     <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script>     
	 <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script>
	 <script>
    !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=`
        #toTopBtn {
            position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }
        #toTopBtn:hover { background-color: #0284c7; }
    `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}();
     </script>
 </body>
 </html>